httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve" <>
Subject [users@httpd] Re: CGI - Disable #!/bin/sh
Date Sun, 24 Nov 2002 00:08:28 GMT
     How do u stop a client from using like
 echo "Cat all files in user2 dir"
 cat /home/web/users/user2/web/*
 This will allow someone to cat all the files of a user2's dir. Because all
 the files need to be readable by all for the webserver user www to be able
 to read the files this user will be able to read the files also..
 Is there anyway of making cgi to stay in its own directory and not allowed
 to go out of it.. or to stop it from running /bin/bash or something like
 that so it cant view other users files..

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message