To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-17-2002, 06:37 AM   #1
cjbilly
Junior Member
 
Join Date: Aug 2002
Posts: 1
Question .:.FTP problemo.:.

OK interesting situation follows....

1. I have a system that creates a dedicated folder on the server (running apache / redhat / php / mysql) for each new client that registers (aka. personal folder)

2. This 'personal folder' is where they upload large files via http interface (php) - there can be quite a few aswell.

3. I wish to grant them FTP access to their personal folder _only_ - so, obviously, they wouldn't be able to see other clients folders.

4. This ftp access would be using their username and password already given to them (and stored in mysql db).

5. Preferably, the clients could access (via ftp) the folders via a subdomain of the html interface (e.g. http://clients.mywork.com/ for ftp and http://www.mywork.com/ for the html)

Therefore, my question is - is it possible to extract the username and password from the mysql db and generate an ftp client automatically with restricted access to their folder only?

Any help greatly appreciated.

Thanks,

cjb.
cjbilly is offline   Reply With Quote
Old 09-17-2002, 03:46 PM   #2
jstarkey
Civilian
 
jstarkey's Avatar
 
Join Date: Jul 2002
Location: 9500 ft
Posts: 1,104
proftpd http://www.proftpd.org/ will allow you to authenticate using SQL. It's also great about chrooting users.

Unfortunately, here's the man page for SQL authentication: http://proftpd.linux.co.uk/localsite...nked/x643.html
Maybe google knows more?

I've been using it for 2 years, but haven't tried SQL auth with it. So that's about all the info I have.

Hope this helps in some way.
jstarkey is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:55 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.