in reply to Moving A Web Application From Hacky To ... Less Hacky
Other monks can weigh in with their opinions here, but I don't like the idea of a world-writeable directory for anything... I'd prefer to have the file/directory permissions set to 0644 so it is writeable only by your userid, and run the script with the suid bit set so that it runs as your usergrp rather than the webserver's.. and then make damned sure to read up on tainting (because suid scripts automatically invoke taint checks)!!!
..Guv
Update see here for more CGI security info.
Update II I saw this article by Ovid referenced by another monk in some node (sorry, don't remember what node / who linked it). Cheers!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Moving A Web Application From Hacky To ... Less Hacky
by Cody Pendant (Prior) on Mar 01, 2002 at 03:39 UTC |