Forum Moderators: phranque
I need to add FTP users, in order for them to upload files (bigger than 2M) and then link them on my forum. My host doesn't allow me to edit php.ini so it has to be done through FTP.
The problem is that users get a complete FTP access to var/www/html/*.*
I want to use htaccess files to restrict access to one folder for each user. Ex: user1 would be able to manage files only in var/www/html/user1/*.*
If user1 one tries to access var/www/html/user2/ from his FTP program, he'd get an access denied error.
They have to be able to upload, delete, and link the uploaded files on the web.
I tried a few things with <limit> and a few others from mod_access, but nothing seems to work.
Any idea? I'm not very good with Apache modules.
Thanks,
Christian