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
    Regular Coder
    Join Date
    Jul 2006
    Posts
    171
    Thanks
    13
    Thanked 1 Time in 1 Post

    hiding file from view or access

    Hi,

    I am storing documents in a folder to be accessed by a mySql query.

    How can I structure this so that the documents within the folder cannot be read by direct url or by mirrors but will still be accessed by query?

    Andy

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    I'm not quite sure how you're going to interact directly with the filesystem using MySQL, but if you don't want people to be able to access your files just put them in a folder above your web root(usually public_html). Then you can use PHP or whatever to access them.


  •  

    Posting Permissions

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