RE: [PHP] PHP Security: Best Practices
| From: | Jen Rasmussen | Date: | Mon, 08 Aug 2011 15:05:48 +0000 |
| Subject: | RE: [PHP] PHP Security: Best Practices | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314427@lists.php.net to get a copy of this message | ||
Thanks, Andrew! I am unfortunately not even running 5.2..so that helps.
Jen
-----Original Message-----
From: Andrew Ballard [mailto:aballard@gmail.com]
Sent: Monday, August 08, 2011 9:57 AM
To: jen@cetaceasound.com
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP Security: Best Practices
On Mon, Aug 8, 2011 at 10:08 AM, Jen Rasmussen <jen@cetaceasound.com> wrote:
[snip]
>
> On a side note, PHP versions prior to 5.3+ do not allow to set the httponly
> flag as a cookie parameter, is there any acceptable alternative for this?
I believe that has been supported since 5.2.0. As for a workaround for
versions before that, I found this pretty quickly through Google:
http://stackoverflow.com/questions/36877/how-do-you-set-up-use-httponly-cookies-in-php
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php