News for hackers. Stuff that matters.
Re:Using WebAssembly threads from C, C++ and Rust by Santosh83 on Wednesday July 21, 2021 @10:04AM (#27906443)
Well something as basic as CSP is also crippled without access to the server to set headers. And a lot of other stuff.

The more relevant question here is why so few (if at all) web hosting solutions allow the user to configure custom server rules?

Re:Using WebAssembly threads from C, C++ and Rust by flohofwoe on Wednesday July 21, 2021 @10:07AM (#27906492)
TBH I wonder why response header requirements can't be set right in the meta tags in index.html. Would this be any different than having a provider-specific config file next to index.html from a security pov?
Re:Using WebAssembly threads from C, C++ and Rust by Santosh83 on Wednesday July 21, 2021 @10:21AM (#27906640)
Some of them can be, but not all. Some headers are needed before the content is loaded. With ubiquitous virtualisation these days, I don't see why hosting providers can't allow users more control over their server without compromising security.
Re:Using WebAssembly threads from C, C++ and Rust by littlestymaar on Thursday July 22, 2021 @02:49AM (#27916179)
You don't even need virtualization at all. Apache have allowed this for twenty years!
Re:Using WebAssembly threads from C, C++ and Rust by littlestymaar on Thursday July 22, 2021 @02:47AM (#27916171)
All PHP (Apache) hosting provider I know allow user-defined configuration on a per-directory level.
Re:Using WebAssembly threads from C, C++ and Rust by jhgb on Wednesday July 21, 2021 @11:10AM (#27907353)
> something as basic as CSP is also crippled without access to the server to set headers

Why would communicating sequential processes be crippled by this?

Re:Using WebAssembly threads from C, C++ and Rust by agency on Wednesday July 21, 2021 @11:18AM (#27907469)
Re:Using WebAssembly threads from C, C++ and Rust by jhgb on Wednesday July 21, 2021 @11:43AM (#27907773)
Ah, I see. A different namespace.