| ▲ | defrost 4 hours ago | ||||||||||||||||||||||||||||||||||
What prevents running a data stream in, transcoded data out sandbox with no access to unlimited resources, system files, system stacks, etc. It's okay for a sandbox to fall over due to bad inputs and poor memory security if it can just be restarted and move onto other streams. | |||||||||||||||||||||||||||||||||||
| ▲ | ReactiveJelly 3 hours ago | parent [-] | ||||||||||||||||||||||||||||||||||
I think Chromium already does sandbox ffmpeg in the renderer process because of their "Rule of Two": https://chromium.googlesource.com/chromium/src/+/HEAD/docs/s... Thus: 1. Code which processes untrusted input 2. Code written in unsafe languages like C or C++ 3. Code that runs without a sandbox So ffmpeg should be sandboxed, same as the network code and GPU process are sandboxed. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||