in reply to Site file organization
The only thing I really have to comment on is this line:
data.txt (db connect info--needs to go in secure dir)
I'm not sure what you mean with "secure dir", but I take it you put some data in that file that shouldn't fall into wrong hands. Please note that something like this is really hard to really secure, if there are other users on the system this site runs on. Your http daemon probably runs under some user account with few permissions (nobody, or www, or whatever), but somehow, that user is supposed to be able to read that file. Another user on that machine can do the same (write a little Perl CGI app. that opens and prints the file contents). This is quite a big problem, for which I haven't really seen good solutions besides using things like RSBAC1 (Linux).
This all may not be appropriate for your specific case, but probably worth mentioning.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Site file organization
by abell (Chaplain) on Feb 01, 2004 at 09:02 UTC | |
|
Re: Re: Site file organization
by bradcathey (Prior) on Jan 31, 2004 at 20:51 UTC |