Changeset d6f7d1a


Ignore:
Timestamp:
Dec 3, 2011, 3:05:03 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
281891e
Parents:
48f6e0c
git-author:
Alex Dehnert <adehnert@…> (12/03/11 03:05:03)
git-committer:
Alex Dehnert <adehnert@…> (12/03/11 03:05:03)
Message:

Make our session cookies more secure

The database should only be accessed using https, and doesn't include any
significant JavaScript?. Thus, set the cookie to be Secure and HTTPOnly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/settings.py

    rea217bd rd6f7d1a  
    2424
    2525ENABLE_SCRIPTS_AUTH = True
     26
     27SESSION_COOKIE_SECURE = True
     28SESSION_COOKIE_HTTPONLY = True
    2629
    2730LOGFILE = "asa-db.log"
Note: See TracChangeset for help on using the changeset viewer.