Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
Added FrameOptionsHeader middleware to forbid iframing Secret Squirre…
Browse files Browse the repository at this point in the history
…l. Bug 568768.
  • Loading branch information
Fred Wenzel committed Aug 24, 2010
1 parent 68f660c commit f2364b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements/prod.txt
Expand Up @@ -2,6 +2,7 @@
Django==1.2.1
-e git://github.com/jbalogh/django-multidb-router.git#egg=django-multidb-router
-e git://github.com/jbalogh/jingo.git#egg=jingo
-e git://github.com/jsocol/commonware.git#egg=commonware

# Caching
python-memcached==1.45
3 changes: 2 additions & 1 deletion settings.py
Expand Up @@ -121,6 +121,8 @@ def JINJA_CONFIG():
'django.middleware.csrf.CsrfResponseMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',

'commonware.middleware.FrameOptionsHeader',
)

ROOT_URLCONF = '%s.urls' % ROOT_PACKAGE
Expand All @@ -134,7 +136,6 @@ def JINJA_CONFIG():
'django.contrib.messages',

'cas_provider',

'registration',
'sso',
'users',
Expand Down

0 comments on commit f2364b5

Please sign in to comment.