Monday, July 5, 2010

XSS security with nonces

One of the problems with Ajax is that a foreign web page can include ajax calls to a service which will be executed with the user's credentials. To prevent this, ajax calls should include a nonce, an unguessable string which is associated with the user. Ajax calls without the correct nonce are ignored.

Apparently, Wordpress does the something similar: http://www.prelovac.com/vladimir/improving-security-in-wordpress-plugins-using-nonces

0 comments:

Post a Comment