Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 21st, 2000, 12:46 AM
robh robh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 10 robh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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/

Reply With Quote
  #2  
Old June 21st, 2000, 01:56 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
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).]

Reply With Quote
  #3  
Old June 21st, 2000, 10:34 AM
robh robh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 10 robh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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/

Reply With Quote
  #4  
Old June 21st, 2000, 05:44 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #5  
Old June 21st, 2000, 08:50 PM
robh robh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 10 robh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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/

Reply With Quote
  #6  
Old June 21st, 2000, 10:56 PM
robh robh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 10 robh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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/

Reply With Quote
  #7  
Old June 22nd, 2000, 12:50 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #8  
Old June 22nd, 2000, 09:46 PM
robh robh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 10 robh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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/

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Directory Jailing Problems with ProFTPD


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway