Web Hosting Talk







View Full Version : security for files and directory


mancu
09-16-2001, 11:54 PM
Since CGI is a powerfull for webprogramming.
The mirrorside of CGI is very danger.

virtualhost User on same server can write CGI program read other user source code, DB and ...


How to protect this case.

--Admin--

Palm
09-17-2001, 12:01 AM
Thank for for linux permissions.

Some basic command is using "chown" to assign a file to a certain user name and group name.

A user called B would not be able to open a file with A assigned as the username.

cperciva
09-17-2001, 12:43 AM
Use with Apache the program suEXEC.