Firefox security features warning on Linux

فایرفاکس فایرفاکس تاريخ آخرين تغيير: 52% ِ کاربران رأی داده شده این مفید
هنوز کسی برای ترجمهٔ این مقاله کمک نکرده است. اگر از قبل می‌دانید بومی‌سازی برای SUMO چگونه کار می‌کند، همین حالا ترجمه را شروع کنید. اگر می‌خواهید یاد بگیرید چگونه مقاله‌ها را برای SUMO ترجمه کنید، از اینجا شروع کنید.

You may see a warning that “some of Firefox’s security features may offer less protection on your current operating system” when you install Firefox on Linux.

The sandbox in Firefox makes use of unprivileged user namespaces when creating new processes for enforcing more security. This can be considered a security risk, therefore some Linux distributions have started to restrict its usage and only allow it to work where there is an AppArmor profile.

Such profiles can only cover a limited set of installations paths, including Snap and Debian packages. They cannot however cover some other use cases, such as tarball installations as well as local development builds.

To create an AppArmor profile for Firefox:

In /etc/apparmor.d/, create a file with the name firefox-local

In the file, add the following:

# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"
abi <abi/4.0>,
include <tunables/global>
profile firefox-local
/home/<USER>/bin/firefox/{firefox,firefox-bin,updater}
flags=(unconfined) {
	userns,
	# Site-specific additions and overrides. See local/README for details.
	include if exists <local/firefox>
}


Replace <USER> with your Linux user name. This assumes the Firefox install is at $HOME/bin/

Once you have saved the file, run sudo systemctl restart apparmor.service in the Linux terminal.

این افراد در نوشتن این مقاله کمک کرده اند:

Illustration of hands

داوطلب

دانش و تجربهٔ خود را با دیگران هم‌رسانی کنید. به پرسش‌ها پاسخ دهید و پایگاه دانش ما را بهبود دهید.

مانند نخ كشيده