Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Secure Shared Hosting ... A Paradox?

Started 1 month, 3 weeks ago by dakman
We have several VPS's reselling shared hosting, and as we grow our shared hosting operations, I've realized how its almost impossible to have every user, developer or who ever is accessing our shared accounts to properly lock down their scripts eg set proper permissions... But what I don't get is how larger shared hosting providers (which we plan on becoming) fully lock out homedir/User A from ...
Site: WebHostingTalk Forums - Web Hosting Discussion  WebHostingTalk Forums - Web Hosting Discussion - site profile
Forum: Technical & Security Issues  Technical & Security Issues - forum profile
Total authors: 4 authors
Total thread posts: 3 posts
Thread activity: no new posts during last week
Domain info for: webhostingtalk.com

Other posts in this thread:

vapetrov replied 1 month, 3 weeks ago
If you looking about 640 permissions try to google about umask. Do not forget to apply it to ftp server. It easy to set up proper permissions. Just set 750 for every dir in /home and add apache/nobody user to every group. Sure you need to use suphp or fastcgi to prevent scripts run as apache/nobody. With this 640 permissions and open_basedir not really necessary.

dakman replied 1 month, 3 weeks ago
But if a shared user sets file permissions to 644 and 755 for their files/folders how would that work? Is there a way to make open_basedir apply for ANY file/folder in a users home directory so that User A's files BOTH php and non-php, no matter what permissions are set, can't be viewed by User B (by SSH, FTP, PHP include or any other type access)? According to what I hear the only solution...

 

Top contributing authors

Name
Posts
dakman
2
user's latest post:
Secure Shared Hosting ... A...
Published (2009-11-06 00:33:00)
But if a shared user sets file permissions to 644 and 755 for their files/folders how would that work? Is there a way to make open_basedir apply for ANY file/folder in a users home directory so that User A's files BOTH php and non-php, no matter what permissions are set, can't be viewed by User B (by SSH, FTP, PHP include or any other type access)? According to what I hear the only solution to protect users and still have their files...
vapetrov
1
user's latest post:
Secure Shared Hosting ... A...
Published (2009-11-05 02:28:00)
If you looking about 640 permissions try to google about umask. Do not forget to apply it to ftp server. It easy to set up proper permissions. Just set 750 for every dir in /home and add apache/nobody user to every group. Sure you need to use suphp or fastcgi to prevent scripts run as apache/nobody. With this 640 permissions and open_basedir not really necessary.
dakman View Beta Profile Newbie
1
user's latest post:
Secure Shared Hosting ... A...
Published (2009-11-06 00:33:00)
But if a shared user sets file permissions to 644 and 755 for their files/folders how would that work? Is there a way to make open_basedir apply for ANY file/folder in a users home directory so that User A's files BOTH php and non-php, no matter what permissions are set, can't be viewed by User B (by SSH, FTP, PHP include or any other type access)? According to what I hear the only solution to protect users and still have their files...
dakman dakman is offline View...
1
user's latest post:
Secure Shared Hosting ... A...
Published (2009-11-06 00:33:00)
But if a shared user sets file permissions to 644 and 755 for their files/folders how would that work? Is there a way to make open_basedir apply for ANY file/folder in a users home directory so that User A's files BOTH php and non-php, no matter what permissions are set, can't be viewed by User B (by SSH, FTP, PHP include or any other type access)? According to what I hear the only solution to protect users and still have their files...

Related threads on "WebHostingTalk Forums - Web Hosting Discussion":

Related threads on other sites:

Thread profile page for "Secure Shared Hosting ... A Paradox?" on http://www.webhostingtalk.com. This report page is a snippet summary view from a single thread "Secure Shared Hosting ... A Paradox?", located on the Message Board at http://www.webhostingtalk.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity