Skip to content

Commit

Permalink
Fix Missing X-Frame-Options HTTP header
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisK106 committed Feb 24, 2024
1 parent e64539b commit dffd6a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions MiniProyectoBS/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
<compilation debug="true" targetFramework="4.8" />
<httpRuntime targetFramework="4.8" />
</system.web>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="X-Frame-Options" value="SAMEORIGIN" />
</customHeaders>
</httpProtocol>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
Expand Down

0 comments on commit dffd6a5

Please sign in to comment.