SearchSearch   

Protected Folders

 
   Webmaster Forums (Home) -> Apache RSS
Next:  "default document" for specific path  
Author Message
hiddenhippo

External


Since: Aug 10, 2007
Posts: 1



(Msg. 1) Posted: Fri Aug 10, 2007 8:27 am
Post subject: Protected Folders
Archived from groups: alt>apache>configuration (more info?)

I'm hoping someone can help me.

Basically I'm looking for a way of securing folders that can only be
accessed by the logged in person, and any manipulation of the url,
e.g. pointing to another folder, results in a validation check saying
that access isn't granted. I think an example might help explain;

I have a site which allows users to upload their images, which are
then stored into a folder that can be served back to them, for
example, www.myurl.com/user1/images

What I need is a way of locking the url /user1/images so that only
user1 can get access. At the moment it's possibly to log in as say,
user2, and change the url from www.myurl.com/user2/images to
www.myurl.com/user1/images

This isn't secure and I can't figure a way of locking the folders.
Currently my only option is to hash the user name and store their
images within a folder created by the hash, and therefore reducing the
chances of someone guessing; for example, your not likely to guess a
15 character hash, rather that say 'user1'.

Any help on this front would be greatly appreciated.
Back to top
Display posts from previous:   
       Webmaster Forums (Home) -> Apache
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum