-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started
Marthijn van den Heuvel edited this page Aug 21, 2024
·
5 revisions
- Install the NuGet package: Sidio.Web.Security.AspNetCore
- In the
Program.csfile, add the following code to add your first header:
app.UseXFrameOptions();- Run your application and check the response headers in the browser's developer tools.
- View and configure the recommended configuration in your application.
When your website is live, you can use the following online tools to validate your security headers:
Parts of this wiki may come from, or be based on, the MDN Web Doc's. Documentation by Mozilla Contributors is licensed under CC-BY-SA 2.5 or any later version.