Author Topic: How to set up a Folder that only allow a user upload  (Read 2723 times)

0 Members and 1 Guest are viewing this topic.

Offline Blackstreet

  • Occasional poster
  • *
  • Posts: 1
    • View Profile
How to set up a Folder that only allow a user upload
« 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.

Offline raybob

  • Moderator
  • Tireless poster
  • *****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: How to set up a Folder that only allow a user upload
« Reply #1 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.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: How to set up a Folder that only allow a user upload
« Reply #2 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".

Offline raybob

  • Moderator
  • Tireless poster
  • *****
  • Posts: 453
    • View Profile
    • FileSplat.com
Re: How to set up a Folder that only allow a user upload
« Reply #3 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.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: How to set up a Folder that only allow a user upload
« Reply #4 on: June 23, 2013, 12:56:59 PM »
ops, sorry, i didn't notice it was about FHFS