User Authentication In Web-Based Management Systems
Every embedded web management system requires authentication. There are two types of web authentication, and each has its own advantages.
HTTP-based Authentication
There are two types of HTTP authorization: Basic Authentication and Digest Authentication. Basic Authentication transmits the username-password pair in an unencrypted form from browser to server. Digest Authentication sends the server a one-way hash of the username-password pair.
All web servers support HTTP-based authentication, although there are no standards to integrate with external authentication data, such as a device's own user-password data. The web application does not have controls on how the browser presents the login window.
Form-based Authentication
Web applications usually store authorized indication as part of web session data. Some web applications make it a part of the process in establishing a web session. The form-based authorization does not require any special support from the web server. Web application checks if a session has been authorized; if not, it redirects the web request to the application's login page.
The form-based authentication could achieve a similar "digest" effect by using JavaScript to either encrypt the password or calculate digest of the password in the login page, so the login request does not transmit the password unprotected. Most commercial web sites use the form-based authentication since the web application could control the login presentation and integration with its own user database.

