ttalvitie / browservice

Browservice: Browse the modern web on historical browsers
MIT License
1.11k stars 32 forks source link

Security Issue #64

Open rocheston opened 2 years ago

rocheston commented 2 years ago

Can you disable accessing local files via file:// method? I know you gave a warning about this. Maybe you want to completely disable this feature.

You don't want this though.. grab3

ttalvitie commented 2 years ago

First, a couple of notes:

So far, I have decided not to block the file: protocol in order to not give users a false sense of security; there are probably ways around the block (as the embedded Chromium browser has not been designed to completely isolate the interactive user from the privileges of the user running the process). However, I do recognize that there might be practical value in having the file: blocked anyway to at least slow down some interactive attacks. Thus I plan to do the following:

ttalvitie commented 2 years ago

Now implemented the (disableable) file: scheme blocking in commit 9026fb231e74eff1d5ac8c9671795a604df25597; it will be included in the next release.