|
Red Hat / CentOS: Chroot Apache 2 Web Server |
|
|
|
Source: cyberciti - Posted by Bill Keys
|
A chroot on Red Hat / CentOS / Fedora Linux operating changes the apparent disk root directory for the Apache process and its children. Once this is done attacker or other php / perl / python scripts cannot access or name files outside that directory. This is called a "chroot jail" for Apache. You should never ever run a web server without jail. There should be privilege separation between web server and rest of the system.
Chroot is great security practice to isolate an attack to only one part of ones system. If you are interested in using chroot check out this article it that will show you all the commands that you need.
Read this full article at cyberciti
Only registered users can write comments. Please login or register. Powered by AkoComment! |