Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Adds X-XSS-Protection...WIP... and Jira refs

...

According to Wikipedia and Owasp, the only defined value, "nosniff", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type. This also applies to Google Chrome, when downloading extensions.

X-XSS-Protection

While working on a mean to introduce this in OFBiz I stumbled upon this exchange between Jacopo and Mark Thomas on the Tomcat users ML. I did not find any progress but I will ask Jacopo.

The secure flag on cookies instructs the browser to only submit the cookie as part of requests over secure (HTTPS) connections. This prevents the cookie from being observed as plain text in transit over the network.

...

OFBiz users can decide to change this parameter if they want

 

Those are related Jira issues:

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyOFBIZ-6759

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyOFBIZ-6766