WebAppSec/Secure Coding Details

< WebAppSec
Revision as of 21:25, 5 November 2010 by Mcoates (talk | contribs) (Created page with "=Author= Michael Coates - mcoates [at] mozilla.com =Introduction= =Status= =Layout= ==Session Management== ===Secure Flag=== ====Django==== Django provides built in support f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Author

Michael Coates - mcoates [at] mozilla.com

Introduction

Status

Layout

Session Management

Secure Flag

Django

Django provides built in support for setting the SECURE flag for the session id cookie. By default Django does NOT set the flag to secure

Correct Setting:

SESSION_COOKIE_SECURE = TRUE

http://docs.djangoproject.com/en/dev/topics/http/sessions/#session-cookie-secure