Hello,
I need to create an ftp account for a programmer to fix an addon, but I cant give him access to all the files.
I read somewhere i can use .ftpacess
when I try adding inside the file these parameters
<Directory /var/www/vhosts/example.com/httpdocs/example_dir>
<Limit CWD PWD DIRS READ>
AllowUser admin
</Limit>
<Limit ALL>
DenyUser exmaple_user
</Limit>
</Directory>
I can log in as admin, but when i try to login as the user it completely blocks it fro login
and I need to do that to several directories to block them, and also some files on root.
Any help would be appreciated
Billy
I need to create an ftp account for a programmer to fix an addon, but I cant give him access to all the files.
I read somewhere i can use .ftpacess
when I try adding inside the file these parameters
<Directory /var/www/vhosts/example.com/httpdocs/example_dir>
<Limit CWD PWD DIRS READ>
AllowUser admin
</Limit>
<Limit ALL>
DenyUser exmaple_user
</Limit>
</Directory>
I can log in as admin, but when i try to login as the user it completely blocks it fro login
and I need to do that to several directories to block them, and also some files on root.
Any help would be appreciated
Billy