Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 11-26-2005, 11:58 PM   #1 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 45

spyro187

Default Hosting

Does anyone know of a good way to lock down sub directories for hosting. I am working on a server to let some people host their tech sites and I don't want their php code to be able to transverse into other directories unless into is under their own. Ex. www.whatever.com/user1. They will have php available and I would like then to also have a mysql db that is lockdown. Anyone have some ideas on how to secure this kind of configuration?
__________________
http://www.DiscussElectronics.com
spyro187 is offline  
Old 11-28-2005, 04:54 PM   #2 (permalink)
 
Newb Techie

Join Date: Nov 2005

Posts: 12

rehash

Default

"The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren't very realistic, many people, especially ISP's, use safe mode for now."

have you tried?
rehash is offline  
Old 11-28-2005, 09:48 PM   #3 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 45

spyro187

Default

Yes I have php setup in safe mode. The problem I have is that all users that sign up fall under the apache user. I could set them up as another user but then they will be able to move to other users folder and not my main /var/www/html folder.

Any other ideas?
__________________
http://www.DiscussElectronics.com
spyro187 is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On