Ancestors

Written by Luke on 2024-12-18 at 11:20

This is a great overview of what XSS is and how you can protect against it. Especially good to see the call out to the Trusted Types API! While it's only in chromium currently there's active work by Igalia (inc me) to implement and ship it in WebKit and Firefox.

https://front-end.social/@openwebdocs/113673416289556495

=> More informations about this toot | More toots from Lukew@toot.wales

Toot

Written by Olliew on 2024-12-18 at 13:05

@Lukew will Trusted Types still be necessary if the Sanitizer API becomes a thing? I’ve only skim-read about them and feel confused about how the two things will relate to each other.

=> More informations about this toot | More toots from Olliew@indieweb.social

Descendants

Written by Luke on 2024-12-18 at 13:09

@Olliew short answer yes. For one thing trusted types is a way to ensure you don't accidentally use an unsafe sink. There's also going to be circumstances where you do want to use an unsafe sink and trusted types ensures you can do that in a controlled way. But also trusted types covers more than what the sanitizer API does.

=> More informations about this toot | More toots from Lukew@toot.wales

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113673969412026030
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
266.939778 milliseconds
Gemini-to-HTML Time
0.606898 milliseconds

This content has been proxied by September (3851b).