The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel FTP User Permissions

Discussion in 'General Discussion' started by Avante, Sep 13, 2011.

  1. Avante

    Avante Member

    Joined:
    Jun 23, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Is it possible to create an FTP user that can only read/download the files.
    As in the main user can upload/download/delete/ but the different user can only read/download and it can't upload/delete.

    Thanks

    -Chris
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You could use the anonymous user and only allow FTP downloading. The anonymous user only has access to /home/username/public_ftp folder and its contents (incoming folder exists there).

    You can connect to the anonymous user with these credentials:

    Host: domain.com
    Username: anonymous@domain.com
    Password: anything or blank

    Please replace domain.com with the domain name. The password field can be blank or whatever you want.
     
  3. Avante

    Avante Member

    Joined:
    Jun 23, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Can you change the password of the anonymous account?
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    That account does not use a password at all, so it cannot be changed. It is the only user who I know that can only download without being able to upload by default.
     
  5. Avante

    Avante Member

    Joined:
    Jun 23, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    So there is no other way to make an account just for downloading files?
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Not that I'm aware. If I knew of a way to do so, I would certainly have been happy to suggest it.

    I tried setting no quota on a created user and it did not work to restrict file uploads, so it appears to have used 0 as unlimited.

    Please note that you are welcome to search online for an alternative method to see if this will work, but "pure-pw usermod" doesn't work under cPanel for changing values in the /etc/proftpd/username files to add quota either, which was another alternative I tried.

    If I found a way to get it working at some point, I would provide that information, but at this time my suggestion is the one I already did provide.
     
  7. feldon27

    feldon27 Well-Known Member

    Joined:
    Mar 12, 2003
    Messages:
    111
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Houston, TX
    Sad that there's still no option for this.

    I want to provide FTP access for downloads of very large files which would be unreliable via HTTP download, but do NOT want users to be able to upload or delete files.
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Since the anonymous user cannot upload or delete files, why is it not possible to use that user for downloading files? Does it matter if someone else discovers the files and downloads them in this particular instance? I'm asking as I don't know the purpose of the files and the anonymous user works perfectly fine in most instances for only having the ability for file downloads if you don't allow that user in cPanel to have upload capabilities.
     
Loading...

Share This Page