View Full Version : Write but not read permissions

02-16-2010, 02:18 PM

On my site I have a simple script that adds what someone types into the name field of a form to a basic txt file, which is great. However I dont really want this file to be accessable to everyone via mydomain.com/file.txt

Ive logged into my windows server but if I change the permissions to write allowed but read denied then the script fails as it doesnt have the correct permissions.

Any idea how to get arround this?

Cheers :)

02-16-2010, 09:40 PM
Hey jbird123,

Somehow, I get the feeling that you'll have to re-test your script, because it looks like at some point, it's trying to read from the file. What language are we talking about?