Hard hat is essentially a group of individual middleware that help you improve the security of your aspnet core based applications.
Each middleware has a seperate readme file. These docs were inspired by helmetjs.
- DnsPrefetch controls browser DNS prefetching
- Cross Site Scripting prevent reflective xss attacks
- Content Security Policy
- FrameGuard prevent clickjacking
- HpKp for http public key pinning
- Hsts for telling the browsers to always use https
- IENoOpen Prevents IE from opening websites in the context of your browsers
- MimeSniff Prevents the browsers from sniffing the mime type of a file
- ReferrerPolicy Remove the referral header on link clicks