Skip to content

Commit b350e7c

Browse files
authored
Prevent clickjacking by disallowing framing of the site (pouetnet#142)
1 parent b9a4245 commit b350e7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
RewriteEngine On
44

5-
65
# redirect all subdomains to http://www.pouet.net
76

87
RewriteCond %{HTTPS} ^off$ [NC]
@@ -38,6 +37,7 @@ RewriteCond %{REMOTE_ADDR} ^94\.31\.89\.23
3837
#RewriteCond %{REMOTE_ADDR} ^47\.128\.
3938
RewriteRule .* - [F]
4039

41-
40+
# Prevent clickjacking by disallowing framing of the site
41+
Header always set X-Frame-Options "DENY"
4242

4343
</IfModule>

0 commit comments

Comments
 (0)