Category:WASS Cookie Managment

From OWASP
Jump to: navigation, search

Take measures to securely manage cookies.

The most common mechanism of providing state in a web application is to issue a “cookie” which is then automatically sent along with each request to the originating server. Because some cookies may contain user identifiers or hold other sensitive information, they should only be transmitted in a secure manner, and never stored on the client browser.

  1. Cookies used for session identification or having other sensitive information contained within them should have the SECURE flag set
  2. Cookies used for session identification or having other sensitive information contained within them should be non-persistent and deleted when the user closes their browser
  3. “HTTP ONLY” option should be used to avoid cross-site scripting.

This category currently contains no pages or media.