rejetto forum

Software => HFS ~ HTTP File Server => FHFS => Topic started by: Blackstreet on May 30, 2013, 10:28:58 AM

Title: How to set up a Folder that only allow a user upload
Post by: Blackstreet on May 30, 2013, 10:28:58 AM
Dear dev team.

Here is my case

User 'a' has a folder 'A' (full access). How can I set this folder so that it allow only upload (from anoymous user or another specific user).

In order to browse or download files form 'A', the client must log in using account 'a'.

Thank you in advance.
Title: Re: How to set up a Folder that only allow a user upload
Post by: raybob on June 05, 2013, 07:09:36 PM
Dear dev team.

Team of 1   :P

That's not possible.  Each user can control only their own folders, and 'anonymous upload' to another user's account isn't allowed.
Title: Re: How to set up a Folder that only allow a user upload
Post by: rejetto on June 16, 2013, 01:57:39 PM
a simple workaround is: add the folder TWICE, so they appear like 2 folders, but with same content.
i'll give you instructions, but i didn't test so be careful

1. add the folder twice (when asked, click "real" folder)

2. give them 2 different names, like "upload" and "download"

3. on one folder you will hide all files. This may be achieved in several ways, maybe the easier is to use a "file filter" with this value: \*

4. the other folder shall be protected, and give access only to "a"

You can vary this approach in many ways. Example: you may put the "download" folder INSIDE the "upload", and also you could enable "list protected items only for allowed users".
Title: Re: How to set up a Folder that only allow a user upload
Post by: raybob on June 18, 2013, 06:33:07 PM
That's not gonna work, because my authentication system is macro-based (totally different from HFS).

You would have to add a bit of code to allow just the one folder to be added to by anybody.
Title: Re: How to set up a Folder that only allow a user upload
Post by: rejetto on June 23, 2013, 12:56:59 PM
ops, sorry, i didn't notice it was about FHFS