hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : php safemode.
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

php safemode.

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-26-2002, 01:57 PM
babak babak is offline
WHT Addict
 
Join Date: Mar 2002
Posts: 162

php safemode.


Hi

Is there any other solution to dissable dir-snooping whith php other than PHP safe-mode ?

I dont want to set php on safe-mode, but I dont want that costumers go a round on the server whit a simpel script

I need to keep them in there own dir.


TNX.

Regards,
babak

Reply With Quote


Sponsored Links
  #2  
Old 08-26-2002, 02:31 PM
Noldar Noldar is offline
Web Hosting Evangelist
 
Join Date: Dec 2001
Location: Ponchatoula, LA
Posts: 497
One option would be to run PHP as a CGI and use suEXEC.

Richard

__________________
Enigma Hosting
"I wasn't speeding, I was qualifying!"

Reply With Quote
  #3  
Old 08-26-2002, 02:45 PM
2host.com 2host.com is offline
Web Hosting Evangelist
 
Join Date: May 2002
Posts: 466
Quote:
Originally posted by Noldar
One option would be to run PHP as a CGI and use suEXEC.

Richard
In fact, that and a combination of permissions and ownership are the only way to prevent it when using a web server, CGI and PHP. I agree with that solution and safe_mode isn't going to prevent directory snooping anyway.

__________________
Robert McGregor
URL: http://www.2host.com
Email: robertm@(nospam)2host.com

Reply With Quote
Sponsored Links
  #4  
Old 08-26-2002, 03:56 PM
fr0zenWHS fr0zenWHS is offline
Newbie
 
Join Date: Jul 2002
Posts: 12
Just use the Open_Basedir directive. Check your PHP manual for details.

__________________
fr0zen web hosting solutions
http://www.fr0zen.com

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?