Hi everyone,
I am not an expert in linux but i saw that some people run apache in a chroot jailed environment so that im ever website compromised the attacker will only have access to its jailed environment.
On the other hand, SELinux is also designed for the same type of job if im not wrong. We need to change the directory's context.
So im a bit confused here that what should i use SELinux or Chroot for apache.
I am using CentOS 6 / RHEL 6 for this purpose.
Please guide me.
Thanking you.
I am not an expert in linux but i saw that some people run apache in a chroot jailed environment so that im ever website compromised the attacker will only have access to its jailed environment.
On the other hand, SELinux is also designed for the same type of job if im not wrong. We need to change the directory's context.
So im a bit confused here that what should i use SELinux or Chroot for apache.
I am using CentOS 6 / RHEL 6 for this purpose.
Please guide me.
Thanking you.
Comment