View previous topic :: View next topic |
Author |
Message |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Tue Jul 12, 2005 11:00 pm Post subject: PHP in safe mode? |
|
|
I'm hosting a lot of websites, and everybody with an account could easy hack my server with a simple PHP-script. If i run PHP in safe mode, is it possible for a user to, for example, write a file to C:/windows/system32?
And if i run PHP in safe mode, what are the bieffects? |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Wed Jul 13, 2005 12:27 am Post subject: |
|
|
Safe mode prevents unauthorized users from employing PHP scripts to access
other users' data and possibly gain access to their files.
There are a number of functions restricted/disabled in safe mode...
http://us2.php.net/manual/en/features.safe-mode.functions.php |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Jul 13, 2005 10:00 am Post subject: |
|
|
I think I may have the same probelms as cmxflash when i host for people. What extensions should I deactivate to prevent such attacks to my system? _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
|