#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    10
    Rep Power
    0
    I've read documentation on PROFTPD's site and other topics on this site and I still don't understand how to block out directories to users except their directory and ones they might create above it. I'm planning on doing web hosting, so I will have alot of users. Right now, I'm testing the box and it's very unsecure because of this. Where and what do I put into the conf file to limit access to directories below theirs? Remember, I want this for ALL USERS. There will be no anonymous access. Any help is greatly appreciated.


    ------------------
    ----
    Thanks,
    Rob H
    Founder, DataBits Web
    http://robserver.dyndns.org/
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>Where and what do I put into the conf file to limit
    >>access to directories below theirs?
    http://www.devshed.com/Talk/Forums/F...ML/000050.html

    [This message has been edited by freebsd (edited June 21, 2000).]
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    10
    Rep Power
    0
    Thanks for the help. I've already read those messages under the URL and I still did not understand. If it is ok, could you go into a small depth on what to do? I'm sorry that I don't understand.




    ------------------
    ----
    Thanks,
    Rob H
    Founder, DataBits Web
    http://robserver.dyndns.org/
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Okay, let me explain once again.
    Let say the system path to home directory is /home/username. The apache webserver path to user account is /home/username/public_html (this is the default directory when users log in..

    DefaultChdir ~/public_html

    This is the highest dir (home dir) a user can reach. So that a user can't browse to other users' directory.
    DefaultRoot ~/public_html


    Please read the docs of proftpd at http://www.proftpd.net/docs/configuration.html again.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    10
    Rep Power
    0
    Ok, thanks for your help. Sorry that I am stupid.



    ------------------
    ----
    Thanks,
    Rob H
    Founder, DataBits Web
    http://robserver.dyndns.org/
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    10
    Rep Power
    0
    I still can't get it to work. I read the link that you put on here... this is a simple thing to do, I know... but I'm stupid. Where in the proftpd.conf file do i put this?

    ------------------
    ----
    Thanks,
    Rob H
    Founder, DataBits Web
    http://robserver.dyndns.org/
  12. #7
  13. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>Where in the proftpd.conf file do i put this?

    You can put it inside a <Global> block or without inside of any block, which is anywhere.
  14. #8
  15. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    10
    Rep Power
    0
    Thanks for your help. The version I had of ProFTPD wasn't up to date. That's why everything wasn't working and I kept asking where and how... thanks again...

    ------------------
    ----
    Thanks,
    Rob H
    Founder, DataBits Web
    http://robserver.dyndns.org/

IMN logo majestic logo threadwatch logo seochat tools logo