Created
June 8, 2017 21:32
-
-
Save deekayen/2684817dbc20c60c90279d54a3d1adbc to your computer and use it in GitHub Desktop.
Add X-Frame-Options: SAMEORIGIN HTTP header to all websites on IIS web servers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\windows\system32\inetsrv\appcmd.exe set config /section:httpProtocol /+customHeaders.[name='X-Frame-Options',value='SAMEORIGIN'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment