Allow someone access to ftp my server without complete access...

Discussion in 'Site & Server Administration' started by brentb, Jun 27, 2011.

  1. #1
    I am doing business with someone online who has a few GBs of files they need to transfer to me. The best way is for them to upload them to my server. How do I grant them access to ftp to a specfic directory, without access to everything on my server or the ability to mess around with my settings?

    I have cpanel... if that makes a difference.

    I know it can be done because I have been in his position many times and had access to log in with filezilla and upload files to numerous peoples servers with only access to one directory... I know it can be done.

    Thanks!
     
    brentb, Jun 27, 2011 IP
  2. brentb

    brentb Peon

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your images don't work... fyi
     
    brentb, Jun 28, 2011 IP
  3. SGeek

    SGeek Active Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #3
    Do you have cpanel ? if you do it's possible
     
    SGeek, Jun 30, 2011 IP
  4. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #4
    You can easily do so by creating an additional Ftp account from one of the cPanel account. That new ftp user will have access to his defined directory and nothing outside of it.
     
    madaboutlinux, Jun 30, 2011 IP
  5. KolorKode

    KolorKode Greenhorn

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #5
    chroot them to a directory.
     
    KolorKode, Jun 30, 2011 IP
  6. brentb

    brentb Peon

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i have no idea what chroot is...

    ill try an ftp account and let you know how that works...
     
    brentb, Jul 1, 2011 IP
  7. KolorKode

    KolorKode Greenhorn

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #7
    chroot (change root) will effectively let you set the users root directory. So for example you could chroot to : /users/secret/public
    Which would change their root path ( "/") to the path you set and they cannot traverse out of.
     
    KolorKode, Jul 3, 2011 IP