Andrew, If your web-server is set up correctly, then no files in the cgi-bin should be able viewable.
I have .txt files in my cgi-bin, but if I try to view them with a browser, I get a "No such file or directory" error. Even if I try to ftp://mysite.com/cgi-bin/file.txt I still can't see it. Have you tried to access plain text files in your cgi-bin through your browser, and can you see them? If so, it might be worth askng your hosts if they can secure the cgi-bin in this way. (Unfortunately, I can't give any advice on how to set up a web-server to do this) Carl ---------- >From: "Hughes, Andrew" <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: permissions question >Date: Mon, Feb 25, 2002, 1:36 pm > > I have a pipe delimited text file in which I am collecting form submissions. > I have the permissions currently set to 666. The problem is that if someone > can figure out the path the .txt file, they can view it from their browser. > I do not want this to happen. After a period of time, I am planning to ftp > into the server and grab the .txt file to use the addresses for a mailing. > What permissions should I use in order to have people write to the database > from my form in their browser, but not view the text file from their > browser? > > Thanks, > Andrew > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]