Firefox 3.5 Introduces Origin Header, Security Features
FireFox 3.5 was just released about a half hour ago. You can checkout all the new features for web developers here.
For me, as someone that does a lot of security research one of the most interesting new features is the
Origin http header that FireFox 3.5 now sends. The
Origin header when your browser makes a request the following types of requests: scripts, stylesheets, form GET & form POST, redirects, XMLHttpRequest (XHR, ajax), and frames.
You may be thinking, ok how is this different than the HTTP Referrer header. First, it only sends the domain name of the page, and second it doesn't have many privacy concerns (so hopefully people won't turn it off).
So how can this improve security?
Web Servers can block requests that send invalid
Origin headers, this will mitigate the risk of cross site request forgeries (CSRF), including JSON hijacking for people using browsers that support this feature.
You can read more about the origin header here.
Like this? Follow me ↯Tweet Follow @pfreitag
Firefox 3.5 Introduces Origin Header, Security Features was first published on June 30, 2009.
If you like reading about firefox, origin, header, http, security, csrf, json, or ajax then you might also like:
- Ajax Same Origin Policy No More with Firefox 3.5
- Firefox Now Supports HttpOnly Cookies
- csrfVerifyToken does not invalidate the token
- Firefox Aurora now Supports Content Security Policy 1.0
- HTTP Strict Transport Security
- Cross Domain Data Theft using CSS
- Prefix Serialized JSON in ColdFusion
- Announcing Web Application Firewall for ColdFusion