I hope you are here when you have visited and scanned your website at https://securityheaders.com . If security headers are missing then you will get D Grade even on Netlify.
You can Get A grade by just adding 5 lines of code.
Create a “ _headers “ file in your /static folder and add this code. Simply….
/* X-Frame-Options: DENY X-XSS-Protection: 1; mode=block Referrer-Policy: no-referrer X-Content-Type-Options: nosniff
Now Again Check your Website Security at https://securityheaders.com
You will See your A Grade Now
Visit My Blog : https://www.alihusnain.ml/