Open Web Application Security Project: "Authentication"
Read this chapter about authentication, a process of determining if a user or entity is who he/she claims to be.
Click http://web.archive.org/web/20160429011909/http://www.cgisecurity.com/owasp/html/ch06.html link to open resource.