Home / Companies / Semgrep / Blog / Post Details
Content Deep Dive

Security headers for ASP.Net and .Net CORE

Blog post from Semgrep

Post Details
Company
Date Published
Author
Tanya Janca
Word Count
483
Language
English
Hacker News Points
-
Summary

OWASP DevSlop, an open-source project led by the author and Franziska Bühler, focuses on exploring DevSecOps by creating vulnerable applications and documenting their findings. In a recent effort, they aimed to enhance security by adding security headers to the proof of concept website, DevSlop.co, though faced challenges with .Net Core apps lacking a web.config, which led to the loss of their modifications. This experience prompted the author to pen a blog post detailing the process of re-adding security headers in startup.cs for .Net Core and web.config for ASP.Net, with specific examples provided. The article encourages readers to refer to Franziska’s post for comprehensive insights into each security header's function and emphasizes the importance of using all applicable security headers to improve security ratings on platforms like SecurityHeaders.com and SSL Labs. The author also plans to implement additional security measures in the future and suggests consulting the OWASP Security Headers Guidance for further information.