• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Question FTP Acess Controling User via .ftpacess

lazersate

New Pleskian
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 assume you mean to give the developer access a specific domain/website and not a whole server?

You can easily create additional FTP accounts in Plesk and set the home directory for the FTP user to a specific directory of your domain/website. Which would give the FTP user only access to the files and directories of the specified home directory.

Schermafbeelding 2022-02-05 om 17.36.10.png
 
Back
Top