mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2024-12-22 04:41:33 -05:00
Mention fancy snap packages (#127)
This commit is contained in:
parent
e29398c5bb
commit
b4597888c7
@ -124,6 +124,11 @@ Snap packages come in [two variants](https://snapcraft.io/docs/snap-confinement)
|
|||||||
|
|
||||||
Snap permissions can be managed via the Snap Store or Ubuntu's custom patched GNOME Control Center.
|
Snap permissions can be managed via the Snap Store or Ubuntu's custom patched GNOME Control Center.
|
||||||
|
|
||||||
|
On Ubuntu, you can replace various .deb packages with strictly confined snaps to minimize the attack surface. Some examples of these packages are the printing stack or `ufw`:
|
||||||
|
|
||||||
|
![Cups Snap](/images/ubuntu-cups-snap.png)
|
||||||
|
![UFW Snap](/images/ubuntu-ufw-snap.png)
|
||||||
|
|
||||||
One caveat with Snap packages is that you only have control over the interfaces declared in their manifests. For example, Snap has separate interfaces for `audio-playback` and `audio-record`, but some packages will only declare the legacy `pulseaudio` interface which grants access to both play and record audio. Likewise, some applications may work perfectly fine with Wayland, but the package maintainer may only declare the X11 interface in their manifest. For these cases, you need to reach out to the maintainer of the snap to update the manifest accordingly.
|
One caveat with Snap packages is that you only have control over the interfaces declared in their manifests. For example, Snap has separate interfaces for `audio-playback` and `audio-record`, but some packages will only declare the legacy `pulseaudio` interface which grants access to both play and record audio. Likewise, some applications may work perfectly fine with Wayland, but the package maintainer may only declare the X11 interface in their manifest. For these cases, you need to reach out to the maintainer of the snap to update the manifest accordingly.
|
||||||
|
|
||||||
### Firejail
|
### Firejail
|
||||||
|
BIN
static/images/ubuntu-cups-snap.png
Normal file
BIN
static/images/ubuntu-cups-snap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 MiB |
BIN
static/images/ubuntu-ufw-snap.png
Normal file
BIN
static/images/ubuntu-ufw-snap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 MiB |
Loading…
Reference in New Issue
Block a user