rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: badincite on June 26, 2008, 04:05:37 PM

Title: Is there away to only allow specific users to see only files
Post by: badincite on June 26, 2008, 04:05:37 PM
Is there away to only allow specific users to see only files there account has access to?
Title: Re: Is there away to only allow specific users to see only files
Post by: rejetto on June 26, 2008, 04:13:44 PM
it's a FAQ
ensure you are in "expert mode"
menu -> virtual file system -> list protected items only for allowed users
Title: Re: Is there away to only allow specific users to see only files
Post by: badincite on June 26, 2008, 07:25:49 PM
Thanks!!! Still learning!
Title: Re: Is there away to only allow specific users to see only files
Post by: Beryl on July 03, 2008, 01:52:32 PM
I had the same issue recently, but for several real folders. (So that users could login, have read access to a communal "Public" folder, and then individual access to private folders.)

I assumed the Virtual Filesystem setting wouldn't apply as I was working with real folders, so I ignored it. I created a real-folder subfolder for each user, renamed them in HFS to the md5sum of the user's username, hid all of them, locked them down to the appropriate user, and just added a simple Javascript MD5 function where the user who wants to visit their private folder simply enters their username and clicks a "Private Folders" button. That brings them to example/HugeMD5HashOfTheirUsername or, if they enter someone else's username, it simply denies access and gives a 404.

It only took a few minutes to set up, and it solved all my problems.