Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Answer: How do I prevent anybody from looking at the contents of my text files ?

by slurp (Initiate)
on Aug 01, 2000 at 04:55 UTC ( #25379=categorized answer: print w/replies, xml ) Need Help??

Q&A > files > How do I prevent anybody from looking at the contents of my text files ? - Answer contributed by slurp

If you let webserver-user "own" your files, than every other CGI script can read your files. To make something about that, you may make your scripts setuid. And then create all files in some directory other than cgi-bin which is only readable/writable/executable by your userid.

  • Comment on Answer: How do I prevent anybody from looking at the contents of my text files ?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2018-05-23 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?