This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "Authentication Cheat Sheet"

From OWASP
Jump to: navigation, search
(Introduction)
m
Line 3: Line 3:
 
'''Authentication''' is the process of verification that an individual or an entity is who it claims to be.
 
'''Authentication''' is the process of verification that an individual or an entity is who it claims to be.
 
Authentication is commonly performed by submitting a user name or ID and one or more items of private information that only a given user should know.
 
Authentication is commonly performed by submitting a user name or ID and one or more items of private information that only a given user should know.
 
  
 
'''Session Management''' is a process by which a server maintains the state of an entity interacting with it. This is required for a server to remember how to react to subsiquent requests throughout a transaction.  
 
'''Session Management''' is a process by which a server maintains the state of an entity interacting with it. This is required for a server to remember how to react to subsiquent requests throughout a transaction.  
 
Sessions are maintained on the server by a session identifier which can be passed back and forward between the client and server when mtransmitting and receiving requests.
 
Sessions are maintained on the server by a session identifier which can be passed back and forward between the client and server when mtransmitting and receiving requests.
 
Sessions should be unique per user and computationally very difficult to predict.
 
Sessions should be unique per user and computationally very difficult to predict.
 
  
 
For more information on Authentication, please see the OWASP [[Guide_to_Authentication]] page.
 
For more information on Authentication, please see the OWASP [[Guide_to_Authentication]] page.
Line 27: Line 25:
 
== Caching & Privacy ==
 
== Caching & Privacy ==
 
== Cookie Security ==
 
== Cookie Security ==
 
  
 
{{Cheatsheet_Navigation}}
 
{{Cheatsheet_Navigation}}

Revision as of 04:17, 30 January 2010

Introduction

Authentication is the process of verification that an individual or an entity is who it claims to be. Authentication is commonly performed by submitting a user name or ID and one or more items of private information that only a given user should know.

Session Management is a process by which a server maintains the state of an entity interacting with it. This is required for a server to remember how to react to subsiquent requests throughout a transaction. Sessions are maintained on the server by a session identifier which can be passed back and forward between the client and server when mtransmitting and receiving requests. Sessions should be unique per user and computationally very difficult to predict.

For more information on Authentication, please see the OWASP Guide_to_Authentication page.

Authentication General Guidelines

Implement Proper Password Strength Policy

Implement Secure Password Recovery Mechanism

Utilize Multi-Factor Authentication

Transmit Passwords Only Over TLS

Implement Account Lockout

Session Management General Guidelines

Transmit Session ID's Only Over TLS

Ensure Session ID's are Cryptographically Strong and Random

Implement Idle And Absolute Timeout

Caching & Privacy

Cookie Security

OWASP Cheat Sheets Project Homepage


References

Authors and Primary Editors

Eoin Keary eoinkeary[at]gmail.com