Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2018-08-15 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (158 votes). Check out past polls.

    Notices?