[Zope-PAS] SVN: Products.PluggableAuthService/trunk/ Add 'getCSRFToken' and 'checkCSRFToken' helpers + 'CSRFToken' view.

Tres Seaver tseaver at palladion.com
Fri Nov 16 18:26:13 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/15/2012 08:51 PM, David Glick (Plone) wrote:


What alternative would you propose?  Folks who want to use the ZMI in
load-balanced environments should probably be using non-default sessions
anyway.



What

platforms?  It works on Mac, Linux, and Windows:

 http://docs.python.org/2/library/os.html#os.urandom

Note that I lifted the implementation directly from Pyramid's default
session implementation.



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCmhUUACgkQ+gerLs4ltQ4vTwCeJ/7+XdyBInODZ7Buo+9wm9Hr
qQQAoIgtFK6TFB7Z3Qvv7UIX4IbbWVq2
=0L89
-----END PGP SIGNATURE-----



More information about the Zope-PAS mailing list