mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 04:03:29 +00:00
Further restrict permissions
This commit is contained in:
@@ -259,7 +259,12 @@
|
||||
{
|
||||
"personal-files": {
|
||||
"read": [],
|
||||
"write": ["$HOME/.config/chromium", "$HOME/.config/google-chrome", "$HOME/.mozilla"]
|
||||
"write": [
|
||||
"$HOME/.config/chromium/NativeMessagingHosts/",
|
||||
"$HOME/.config/microsoft-edge/NativeMessagingHosts/",
|
||||
"$HOME/.config/google-chrome/NativeMessagingHosts",
|
||||
"$HOME/.mozilla/"
|
||||
]
|
||||
}
|
||||
},
|
||||
"u2f-devices"
|
||||
|
||||
@@ -29,9 +29,9 @@ finish-args:
|
||||
# Sockets are mounted in each app's directory
|
||||
#
|
||||
# Non-sandboxed
|
||||
- --filesystem=xdg-config/google-chrome
|
||||
- --filesystem=xdg-config/chromium
|
||||
- --filesystem=xdg-config/microsoft-edge
|
||||
- --filesystem=xdg-config/google-chrome/NativeMessagingHosts/
|
||||
- --filesystem=xdg-config/chromium/NativeMessagingHosts/
|
||||
- --filesystem=xdg-config/microsoft-edge/NativeMessagingHosts/
|
||||
- --filesystem=home/.mozilla
|
||||
# Flatpak-sandboxed
|
||||
- --filesystem=~/.var/app/org.chromium.Chromium/config/chromium/NativeMessagingHosts/
|
||||
|
||||
Reference in New Issue
Block a user