News for hackers. Stuff that matters.
Re:Htmx does not play well with content security policy by latent22 on Tuesday July 02, 2024 @07:47AM (#40855686)
Checks security headers for web server hosting article and finds a F with no headers set
Re:Htmx does not play well with content security policy by mtlynch on Tuesday July 02, 2024 @08:19AM (#40855902)
The headers say "Server: AmazonS3" which means it's a static site. Given that it's also a personal blog, there's not much point in CSP headers because a) it's not processing user input and b) even if an attacker achieves XSS, there's no data to steal or useful malicious actions to take on a static personal blog.
Re:Htmx does not play well with content security policy by latent22 on Tuesday July 02, 2024 @09:25AM (#40856412)
Yeah the risk here is very low unless they start hosting more complicated content later on. But it is not hosted on S3 and is actually hosted by AWS CloudFront with a S3 origin which now has a built in feature to set security headers for your static site in only a few clicks so you can get that sweet sweet A rating ;)