| | 24 | # |
|---|
| | 25 | # Learn more about CSRF (Cross-Site Request Forgery) attacks: |
|---|
| | 26 | # |
|---|
| | 27 | # * http://isc.sans.org/diary.html?storyid=1750 |
|---|
| | 28 | # * http://en.wikipedia.org/wiki/Cross-site_request_forgery |
|---|
| | 29 | # |
|---|
| | 30 | # Keep in mind, this is NOT a silver-bullet, plug 'n' play, warm security blanket for your rails application. There are a few guidelines you |
|---|
| | 31 | # should follow: |
|---|
| | 32 | # |
|---|
| | 33 | # * Keep your GET requests safe and idempotent. More reading material: |
|---|
| | 34 | # * http://www.xml.com/pub/a/2002/04/24/deviant.html |
|---|
| | 35 | # * http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.1.1 |
|---|
| | 36 | # * Make sure the session cookies that Rails creates are non-persistent. Check in Firefox and look for "Expires: at end of session" |
|---|