Giving a user access to only one folder


I’m going crazy trying to figure this out.

I have my domain and a user with full access to it. Now I want to add a user who will only be able to access (and upload to) a single folder

How do I do this? (I want to let some classmates upload to my site instead of using rapidshare, etc.)


In general: Be careful with security - a user could upload a script giving access to folders above that folder. But I don’t think you can do it on DH anyway.

What you could do, is to create a user, and add a subdomain to that user. He will then be able to upload anything to that subdomain, and you can then link to that subdomain from the main domain.


Remapping a directory would work well. And if you need to access that directory, you’d have to FTP in as that other user because they’d be that directory owner.