Results 1 to 2 of 2

Thread: HTACCESS Question About Restricting Access

  1. #1
    Join Date
    Oct 2006
    Posts
    18
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default HTACCESS Question About Restricting Access

    1) Script Title: htaccess - htaccess Password Generator

    2) Script URL (on DD): http://tools.dynamicdrive.com/password/

    3) Describe problem: I have a site that will serve only as a storage for files to be downloaded from multiple locations after login. I was wondering if it's possible to restrict access for an individual user to only one folder (of many) if they're logged in. In other words I want user "A" to only access folder "A", user "B" to access only folder "B", etc. Is this possible?

  2. #2
    Join Date
    Oct 2006
    Posts
    18
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default HTACCESS Work Around

    Well, I figured out one way to do it but if there's a cleaner way can someone let me know? I created individually numbered htpasswd files (.htpasswd1, 2 etc.) in the root folder and used those file names for the path in each .htaccess file. Kind of confusing but it was the only solution I could come up with.

Tags for this Thread

Bookmarks

Posting Permissions

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