Simon Willison’s Weblog

Subscribe

Items tagged security, rest in 2010

Filters: Year: 2010 × security × rest × Sorted by date


Why do some websites implement their logout link as a form post via JavaScript versus a plain old GET request?

Probably because if you implement logout as a GET action, I can force you to log out of a site by tricking you in to visiting a page with an <img src="http://yoursite.com/logout/" width="1" height="1"> element on it.

[... 64 words]

Types

Years

Months

Tags