Re: Web hosting, restrict user to access only his folder

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benny Löfgren
Date: Friday, August 13, 2010 - 2:37 pm

Daniel Ouellet wrote:

Or use for example PureFTPd which have similar functionality built-in 
and can be used with *SQL or LDAP authentication so there would be no 
need to use actual unix accounts.

That approach works only, however, if the web server isn't set up to run 
  CGI scripts or some scripting language like PHP, in which case it is a 
piece of cake to write a script to look around in apaches entire 
chroot():ed environment.

(I've long wished for a privsep apache with separate chroot():s for 
every virtual domain... one of these days I'm gonna have to look into 
it, but I suppose it's not trivial to implement or someone would have 
done it by now. :-) )


/B

-- 
internetlabbet.se     / work:   +46 8 551 124 80      / "Words must
Benny LC6fgren        /  mobile: +46 70 718 11 90     /   be weighed,
                     /   fax:    +46 8 551 124 89    /    not counted."
                    /    email:  benny -at- internetlabbet.se
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Web hosting, restrict user to access only his folder, Joachim Schipper, (Fri Aug 13, 1:22 pm)
Re: Web hosting, restrict user to access only his folder, Daniel Ouellet, (Fri Aug 13, 1:55 pm)
Re: Web hosting, restrict user to access only his folder, Bret S. Lambert, (Fri Aug 13, 1:55 pm)
Re: Web hosting, restrict user to access only his folder, Benny Löfgren, (Fri Aug 13, 2:37 pm)
Re: Web hosting, restrict user to access only his folder, Stuart Henderson, (Sat Aug 14, 2:29 am)
Re: Web hosting, restrict user to access only his folder, Chris Cappuccio, (Sun Aug 22, 12:53 pm)
Re: Web hosting, restrict user to access only his folder, Benny Löfgren, (Sun Aug 22, 1:21 pm)
Re: Web hosting, restrict user to access only his folder, Joel Wiramu Pauling, (Sun Aug 22, 5:31 pm)