Inquire about troubleshooting for JavaScript SOP

Asked 2 years ago, Updated 2 years ago, 18 views

JavaScript

Same-Origin Policy

I'd like to know how to avoid

Here's the situation.

I'm developing an e-learning site

Site domain is A

The domain where the actual flash files are located is B

It plays well using iframe, but it sends and receives values in the middle of the flash.

A <-> Communication issues between B.

Is there a way to solve this?

Or please teach me how to deal with this case.

Thank you.

javascript

2022-09-22 21:53

1 Answers

See The CORS must be modified to meet the CORS specification from the server receiving the request.

<!-- This file must be accessible by http://domain/crossdomain.xml.-->
<cross-domain-policy>
<allow-access-from domain=”www.domain1.com”>
<allow-access-from domain=”www.domain2.com”>
</cross-domain-policy>


2022-09-22 21:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.