PDA

View Full Version : safe mode


cwfie
10-25-2005, 03:56 PM
Hi Y'all,

I was wondering if anybody knows an alternative instead of safe-mode. Custoumers often want safe-mode off because their scripts don't allow safe-mode.

Can anybody help me :)?

Thanks in anticipation

jlasman
10-28-2005, 09:50 PM
The alternative is that your clients write scripts that work with safe_mode on.

If you allow clients to use safe_mode off, then you need to make sure none of the other sites on your server can be hacked by a rogue php script (I've written about this previously on these forums).

At least then only their site can be hacked.

Jeff

cwfie
10-29-2005, 07:34 AM
Isn't there a good firewall that can be anternative instead of safe mode? Iptables maybe? Do you also use safe mode on?

Thanks :)

jlasman
10-30-2005, 12:50 PM
A firewall limits access to the system; safe_mode limits what you can do with PHP after you've passed the firewall.

Since everything PHP does is done locally inside your server there's nothing a firewall can do to help you overcome PHP issues.

Jeff