aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-05-27 17:36:31 -0700
committerZachary Scott <e@zzak.io>2015-05-27 17:36:31 -0700
commit7a9651cf1bf364ab7f0eaa660495d9b5e96e6a82 (patch)
tree0d068c62412f0ebd1cbc0af50bcadd79ea73bccb
parent3e36db4406beea32772b1db1e9a16cc1e8aea14c (diff)
parentad6e50803946bb3b3a1c14f655e3070b21f5eddf (diff)
downloadrails-7a9651cf1bf364ab7f0eaa660495d9b5e96e6a82.tar.gz
rails-7a9651cf1bf364ab7f0eaa660495d9b5e96e6a82.tar.bz2
rails-7a9651cf1bf364ab7f0eaa660495d9b5e96e6a82.zip
Merge pull request #20327 from yoongkang/ajax
[ci-skip] Replace dead link about HttpOnly cookies.
-rw-r--r--guides/source/security.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/security.md b/guides/source/security.md
index 46fc8795e2..93580d4d4e 100644
--- a/guides/source/security.md
+++ b/guides/source/security.md
@@ -712,7 +712,7 @@ The log files on www.attacker.com will read like this:
GET http://www.attacker.com/_app_session=836c1c25278e5b321d6bea4f19cb57e2
```
-You can mitigate these attacks (in the obvious way) by adding the **httpOnly** flag to cookies, so that document.cookie may not be read by JavaScript. Http only cookies can be used from IE v6.SP1, Firefox v2.0.0.5 and Opera 9.5. Safari is still considering, it ignores the option. But other, older browsers (such as WebTV and IE 5.5 on Mac) can actually cause the page to fail to load. Be warned that cookies [will still be visible using Ajax](http://ha.ckers.org/blog/20070719/firefox-implements-httponly-and-is-vulnerable-to-xmlhttprequest/), though.
+You can mitigate these attacks (in the obvious way) by adding the **httpOnly** flag to cookies, so that document.cookie may not be read by JavaScript. Http only cookies can be used from IE v6.SP1, Firefox v2.0.0.5 and Opera 9.5. Safari is still considering, it ignores the option. But other, older browsers (such as WebTV and IE 5.5 on Mac) can actually cause the page to fail to load. Be warned that cookies [will still be visible using Ajax](https://www.owasp.org/index.php/HTTPOnly#Browsers_Supporting_HttpOnly), though.
##### Defacement