Three Different mechanisms for HTTP authentication

HTTP supports several authentication mechanisms to control access to pages and other resources. These mechanisms are all based around the use of the 401 status code and the WWW-Authenticate response header. There are basically three widely used methods.