Running Firefox Inside an SELinux Sandbox
Running Firefox inside an SELinux sandbox will add a layer of security against browser based attacks. Any processes or sub-processes are restricted within the SELinux Sandbox.
This works with Fedora and CentOS 6.4 (Redhat). It only sometimes works with CentOS 6.3 (not sure why).
First we need to install a few things.
Make these directories (in your home dir):
Add this to a file in your home directory called "sefirefox" and change permissions on it to "755":
Firefox can now be run from inside an SELinux sandbox by typing: