Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2010
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Write but not read permissions

    Hi,

    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

  • #2
    Regular Coder
    Join Date
    Apr 2009
    Posts
    244
    Thanks
    1
    Thanked 20 Times in 20 Posts
    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?

    Mike


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •