Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
squeed
on June 18, 2011
|
parent
|
context
|
favorite
| on:
JSON users: Avoid CSRFs by not using top-level arr...
Yours is a good solution, and effectively blocks the attack mentioned in this article. From a REST purity standpoint, it's "unclean" to require all API calls to be POSTS, but, hey, life is short.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: