Mobile app version of vmapp.org
Login or Join
Mendez628

: Why everyone uses unsafe content security policy? I see that all big websites like Google or Facebook, even my bank uses content-security-policy header with unsafe-eval and unsafe-inline. Is there

@Mendez628

Posted in: #HttpHeaders #Javascript

I see that all big websites like Google or Facebook, even my bank uses content-security-policy header with unsafe-eval and unsafe-inline. Is there point in using csp if such big companies disable it? Are there big websites that use csp without unsafe scripts?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Mendez628

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

CSP can protect website visitors from malicious hackers but it can also rip apart the web design and mangle code like noscript and tidy and this could also expose your website's errors and other website information. So make sure you cross your T's and dot your i's.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme