Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI data file permissions

Status
Not open for further replies.

s0uljah

Programmer
Jan 28, 2003
2
US
I have user data stored in a text file called data.txt which lives on a Unix web server. The passwords are encrypted, but I don't want the data.txt to be viewable from my web server at all.

I'm not sure what permissions to make the file. When I try to change them my application can't read the file either, so that obviously is a problem.

 
Put it in a directory accessible by the web user, but inaccessible from the net
Somewhere like a directory off cgi-bin perhaps
--Paul

cigless ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top