Skip to content
Snippets Groups Projects
Commit 3e24b719 authored by Dawid Gaweł's avatar Dawid Gaweł
Browse files

XFrameOptionsMiddleware added

XFrameOptionsMiddleware added to prevent clickjacking. X-Frame-Options set to default (SAMEORIGIN).
parent fc7d532a
Branches
No related tags found
No related merge requests found
......@@ -118,6 +118,7 @@ MIDDLEWARE_CLASSES = (
# secure a bunch of things
'djangosecure.middleware.SecurityMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment