flXHR Error:15, securityError, A security sandbox error occured with the flXHR request.

Error: 15
Type: securityError
Description: A security sandbox error occured with the flXHR request.
Source Object Id: [your object id]
I am trying to deploy my application on Tomcat and was continuously facing the issue. The solution to this problem is placing your crossdomain.xml in /webapps/ROOT.

Just for reference attaching the sample crossdomain.xml on which I was working trying to workout my PoC: 
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
</cross-domain-policy>
Hope this will help.

Comments

  1. I just want to thank you, though your article was written 3 years ago, but that 'allow-http-request-headers-from' thing really saved me a lot of time when I was using flXHR! Thanks a lot.

    ReplyDelete

Post a Comment

Popular posts from this blog

java.net.SocketException: Connection reset

Hide empty last column from Table/Tree Viewer

Spring: implements interface not working in @Controller