Skip to content

Commit

Permalink
Trying a change to X-Frame-Options
Browse files Browse the repository at this point in the history
  • Loading branch information
york-stsci committed Nov 25, 2024
1 parent f5256e3 commit 7354f33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jwql/website/jwql_proj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = get_config()['django_debug']

# SECURITY WARNING: This turns the default X_FRAME_OPTIONS value/header from 'DENY' to
# 'SAMEORIGIN', which might potentially allow clickjacking.
X_FRAME_OPTIONS = 'SAMEORIGIN'

ALLOWED_HOSTS = ['*']

Expand Down

0 comments on commit 7354f33

Please sign in to comment.