Koozali.org: home of the SME Server

Best way for user ftp to web

brent

Best way for user ftp to web
« on: June 03, 2003, 09:27:39 PM »
What is the best way to have a webpage set up so that I can have a user ftp to their folder and then view it on the web.

Ex.
Jane ftps to www.domain.com/jane folder and cannot write to any parent folder.

Joe ftps to www.domain.com/joe folder and cannot write to any parent folder.

Have attempted i-bays, home dirs, and folders on primary.  Cannot get a good solution.  Someone please help with the best resolution to this.

Thanks,

JeffC

Re: Best way for user ftp to web
« Reply #1 on: June 03, 2003, 09:37:55 PM »
Go to contribs.org and look in the Weblinks section.  Do a search for "chroot".  I think you'll find what you need.

Chroot'ing a user will allow you to specify an individual directory for access and prevent the user from moving UP in the directory structure.

Cheers,

-jeff

brent

Re: Best way for user ftp to web
« Reply #2 on: June 03, 2003, 11:03:19 PM »
Sorry for the ignorance here, but I am learning.

How do I get the rpm into the server to install it.  I see the install command that I run from the root prompt, but how does it know where the rpm is?

http://www.pagefault.org/code/e-smith.shtml#proftpd

brent

Disregard precious
« Reply #3 on: June 03, 2003, 11:37:16 PM »
OK I got the RPM installed and I specify my username and folder.  It takes it I refresh my remote access policies.  

Now I get an error that is acting as though the user doesn't have permision for that folder.  This is probably true.  What to do....

Thanks for the help.  I am almost there.

brent wrote:
>
> Sorry for the ignorance here, but I am learning.
>
> How do I get the rpm into the server to install it.  I see
> the install command that I run from the root prompt, but how
> does it know where the rpm is?
>
> http://www.pagefault.org/code/e-smith.shtml#proftpd

sm@rt

Re: Best way for user ftp to web
« Reply #4 on: July 02, 2003, 03:56:49 PM »
Has anyone extended the user-accounts panel to do this, it would be a lot easier?