I. Preface
HTTP authentication is a way for Web servers to authenticate client permissions, which can provide a certain degree of security protection for Web applications. At present, some Web application projects have put forward the need to adopt
Previous wordsThe basic certification described in the previous article is convenient and flexible, but extremely unsafe. The user name and password are transmitted in clear text, and no action is taken to prevent tampering with the message. The
No authentication method
After a correct client request is sent to the server, the HTTP server returns the 200 status code and directly returns the content.
Message example:
Request:
Get. http: // 10.127.194.3: 8061/voiceobjects .....
Return
Windows Authentication: IIS performs authentication based on the settings of the application. To use this authentication method, anonymous access must be disabled in IIS.
Forms validation: Use cookies to save user credentials and redirect
PHP based on Forms Password authentication and HTTP authentication usage instances, form instances
The examples in this article describe the use of PHP based on Forms Password authentication and HTTP authentication. Share to everyone for your
BackgroundBefore we start, let's have a general overview of the SSH protocol, which is more useful for our understanding of this article. The first thing to mention is the computer network protocol, the so-called computer network protocol, the
1. Authentication 1.1 HTTP Challenge/Response authentication FrameworkHTTP provides a native challenge/response (Challenge/response) framework that simplifies the authentication process for users. The authentication model for HTTP is as follows:When
There are three authentication methods for Asp.net: "Windows | forms | passport", among which forms is the most used and most flexible.FormsThe authentication method provides good support for user authentication and authorization. You can use a
There are three authentication methods for Asp. Net: "Windows | Forms | Passport", among which Forms authentication is the most used and most flexible.Forms authentication provides good support for user authentication and authorization. You can use
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.