lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <201009122343.o8CNhlws027566@bari.maths.usyd.edu.au>
Date: Mon, 13 Sep 2010 09:43:47 +1000
From: paul.szabo@...ney.edu.au
To: full-disclosure@...ts.grok.org.uk
Subject: Firefox same-origin policy for fonts

One of my users asked me to install MathJax on my server.
Reading installation instructions in
  http://www.mathjax.org/resources/docs/?installation.html#notes-about-shared-installations
I came across the following:

  ... Firefox's same-origin security policy for cross-domain scripting.
  Firefox's interpretation of the same-origin policy is more strict than
    most other browsers, and it affects how fonts are loaded with the
    @font-face CSS directive. ...
  There is a solution to this, however, if you manage the server ...
    create a file called .htaccess that contains the following lines: ...
    Header set Access-Control-Allow-Origin "*"

That would suggest that this same-origin policy can be defeated by
settings on the "evil" server: the policy is not enforced, useless.
Did I misunderstand something?

(Does not really matter to me, am not planning on using that setting,
but am wondering about Firefox workings.)

Thanks,

Paul Szabo   psz@...hs.usyd.edu.au   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of Sydney    Australia

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ