HTTP 기본인증 (Basic authentication)

기본 인증 프로토콜

이 인증 기능을 위해서 HTTP는 필요에 따라 고쳐 쓸 수 있는 제어 헤더를 통해, 다른 인증 프로토콜에 맞추어 확장할 수 있는 Framework를 제공한다.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/8d9e18a0-c473-4139-9dc8-7f7a84973370/Screen_Shot_2021-06-29_at_4.55.23_PM.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/87db1b78-a400-49d1-8cad-dca489f89106/Screen_Shot_2021-06-29_at_5.28.26_PM.png

이렇게 되면, localhost:8080/ 에 접속하기 위해서는 권한 파라미터가 필요하다.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f4472df1-8cb6-4283-910a-33ad05123d7d/Screen_Shot_2021-06-29_at_5.30.47_PM.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/38f55122-d741-4627-ae4e-69a0fc08c96c/Screen_Shot_2021-06-29_at_5.27.35_PM.png