The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> Apache Development
|
Directory Jailing Problems with ProFTPD
Discuss Directory Jailing Problems with ProFTPD in the Apache Development forum on Dev Shed. Directory Jailing Problems with ProFTPD Apache Development forum discussing HTTP Server general topics, configuration, and modules. Apache is an open source web server that runs on multiple platforms.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

June 21st, 2000, 12:46 AM
|
|
Junior Member
|
|
Join Date: Jun 2000
Posts: 10
Time spent in forums: < 1 sec
Reputation 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/
|

June 21st, 2000, 01:56 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
>>Where and what do I put into the conf file to limit
>>access to directories below theirs?
http://www.devshed.com/Talk/Forums/Forum15/HTML/000050.html
[This message has been edited by freebsd (edited June 21, 2000).]
|

June 21st, 2000, 10:34 AM
|
|
Junior Member
|
|
Join Date: Jun 2000
Posts: 10
Time spent in forums: < 1 sec
Reputation 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/
|

June 21st, 2000, 05:44 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
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.
|

June 21st, 2000, 08:50 PM
|
|
Junior Member
|
|
Join Date: Jun 2000
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Ok, thanks for your help. Sorry that I am stupid.
------------------
----
Thanks,
Rob H
Founder, DataBits Web
http://robserver.dyndns.org/
|

June 21st, 2000, 10:56 PM
|
|
Junior Member
|
|
Join Date: Jun 2000
Posts: 10
Time spent in forums: < 1 sec
Reputation 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/
|

June 22nd, 2000, 12:50 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
>>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.
|

June 22nd, 2000, 09:46 PM
|
|
Junior Member
|
|
Join Date: Jun 2000
Posts: 10
Time spent in forums: < 1 sec
Reputation 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/
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|