On Saturday 04 March 2006 15:28, Alan in Toronto wrote:
> > It is strongly recommended to run SquirrelMail and other PHP scripts with
> > register_globals turned off. Provider should turn globals only when
> > scripts are broken, don't work in rg=off and you can't fix those scripts.
>
> So, should I recommend that my web host turn register_globals off for the
> entire server? I'm all right now, as adding your line to my htaccess file
> has solved the issue for my SM install, but should I make my web host
> aware of this issue?

FWIW, I help run a hosting company, and we follow Tomas's stance which I agree 
with fully.  We've seen exploits in older code using register_globals, and a 
whole lot more possible exploits that fortunately remained undiscovered.  
It's not an automatic fix-all to turn register_globals off - there's still a 
lot of lousy PHP code out there, but it's a big help.

You might want to take a look at the information we've posted about our 
php.ini settings, recommendations, and ways to workaround/fix here: 
http://help.seattleserver.com/?page=website_php

Also read the comments at the top of the php.ini-recommended file that comes 
in the php archive downloadable from php.net.

I would definitely encourage your provider to change - it's in their best 
interest, and they can figure out which virtual domains need legacy options 
enabled with a couple of simple grep statements and set .htaccess files up so 
that nothing breaks when they change the global setting.  Of course, they 
probably won't listen as most providers care more about keeping customers 
quiet by using the most compatibility options, but fortunately you can 
override most of the options in a .htaccess file anyways (with exception of 
the magic_quotes stuff).

Cheers,
-- 
Casey Allen Shobe | [EMAIL PROTECTED] | 206-381-2800
SeattleServer.com, Inc. | http://www.seattleserver.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to