Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
max_
· 1y ago · 0 comments
How does this compare to HTMX (security wise)?
Comments
[–]
sudodevnull
1y ago
Same, you control your signals and fragments. So you are responsible for proper escaping and thoughtful design.
[–]
j13n
1y ago
You can disable all use of eval with htmx. The tradeoff is one has to write a bit more JavaScript.
https://news.ycombinator.com/item?id=43650921
[–]
sudodevnull
1y ago
I have thoughts about a fully compliant CSP middleware, problem is it's per language so I'd probably only make for Go (maybe PHP & TS)
[–]
geoka9
1y ago
Hashes or nonces?
[–]
sudodevnull
1y ago
Hashed script content