Flex :: Set Flash Crossdomain.xml To Allow Only SSL Connections?
Feb 7, 2011
How do I set the flash crossdomain.xml file to only allow https ssl secured connections? I have this but I think this will allow non secure connections too.
< cross-domain-policy >
< allow-access-from domain="*" secure="false" / >
< /cross-domain-policy >
View 1 Replies
Similar Posts:
Jan 25, 2010
I want to create flash banner with XML content, and host it on my site with crossdomain.xml, and then share banner code with other sites for banner exchange.So, everything is on my server.Will loading banner, on other sites, load XML from my server, if both banner and XML resides on the same server, but banner is loaded on the other site?
View 1 Replies
Feb 23, 2012
I have been running FMIS 3.5 for about 18 months, and recently it started acting up even though I have not made any changes. After a while (sometimes days, sometimes hours), it starts rejecting new connections, but it allows existing connections to keep working. If I refresh my app, then I can't reconnect. The license I have is unlimited. Can anyone shed some light into why this is doing this and what I can do to fix it? Sometimes it happens when only a couple dozen people are online, and today it did it about 4 times with over 1500 people online.
View 1 Replies
Mar 7, 2010
How to play mp3's from socket connections in Flash AS3?
I have some simple programm which is listening to some port (TCP).
I connect to it using as3 sockets and it starts sending me mp3 data
How to play that data?
View 1 Replies
Sep 26, 2011
I'm trying to include a database un flex4 (flashbuilder) project, I don't see data and SQL packages in the import? What might be the reason? Should I add external library?
import flash.data.SQLConnection;
import flash.data.SQLStatement;
import flash.events.SQLErrorEvent;
import flash.events.SQLEvent;
Description Resource Path Location Type
1172: Definition flash.data:SQLConnection could not be found.
EyeVision1.mxml /EyeVision1/src line 28 Flex Problem
View 2 Replies
Nov 26, 2009
We have a flex application communicating with our server. The flex app makes many HTTP requests (posts and gets) to the server, in many cases in parallel. We have been noticing that we get many dropped connections, experienced from the flex app. The server does not see any failed requests at all and is not under load. I am also suspecting that flex may be on-connection-drop, automatically retrying the POST or GET request, resulting in our server receiving the request twice.
View 2 Replies
Apr 28, 2010
I am trying to connect to a socket server from flex. I read, on adobe's documentation, the client automatically sends a "request-policy-file" xml element to the socket before allowing it to be opened, and should receive a policy file.
The client sends the xml element as expected, My server receives it (on the port I want to use, port 6104) and replies on the same port with:
[Code]...
View 1 Replies
Aug 10, 2010
I am trying to build a youtube player with flash and everytime I load a video, there is a runtime security sandbox error..I already put crossdomain.xml in my root serverbut I am still getting the errors...Do I miss something? Do I have to load it into my flex project?
<!-- <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
[code].....
View 4 Replies
Mar 29, 2011
I am trying to get the RequestToken with flex from
[Code]...
View 3 Replies
Jan 9, 2012
I have a Windows Server 2003, with a domain: "mydomain.com" and everything goes right until the Flash application tries to load de crossdomain.xml, because it tries to load it from "servername" and obviously the request fails. Currently I have read all about crossdomain.xml , what it is, where it goes although I can not find what I have to do so my flash application requests the crossdomain.xml from my domain "mydomain.com" and not from my server "servername".
- The domain is up and can be accessed from the internet
- The crossdomain is on the root folder and also can be accessed from the internet
View 2 Replies
May 4, 2010
How can I consume a webservice that hasn't explicitely created a crossdomain.xml? I understand it's for security and to prevent cross-site scripting, but it does seem like a major limitation to the Flex framework. For example, if I want to consume a webservice, which is suppose to be language agnostic, then I can't with Flex. The webservice/server has to be specifically prepared for Flex/Flash. If it's not, then it cannot be consumed.
View 3 Replies
Aug 10, 2010
I am trying to add a crossdomain file for my flash project...haven't done it before..and there are not too much information online.
View 2 Replies
Nov 10, 2009
Is there any way to get Flex Builder to connect to an existing browser session running Flash Player Debugger? I can connect to FDB like this, but with Builder I need to click Debug and rush to close the newly opened browser window before it loads the Flash file and then go back to the session I want to connect and right click it to start the debugger.
Unfortunately this is not very reliable as I can't always beat the window opening, requiring several attempts before being able to connect to the session I am interested in. If I could just tell Builder 'Start debugging' and then have it wait for the connection, I could now calmly go over to the browser, right click, hit debug, provide the IP and voila. This would allow me to inspect variables on a hard to replicate bug on a session running on a tester's computer.
View 3 Replies
Jun 3, 2011
I've got a small client/server test application where I have a Flex app that makes an HTTP request of a server app. The server app is a script running on my local machine, listening on port 8001. The client is a swf that I am running locally, and uses mx.rpc.http.HTTPService to make the page request.
The HTTPService is being set up as per below:
_HttpService = new HTTPService();
_HttpService.url = "http://localhost:8001";
_HttpService.contentType = "text/xml";
When I make a basic page request, my server app is first receiving a "GET /crossdomain.xml HTTP/1.1" request, which is failing since I don't have a crossdomain.xml file in place. The reason I don't have one in place is because this is all happening on my local machine (for now) and I shouldn't need one (I don't think).
I definitely had this code working before without a crossdomain.xml when I was using Flex 3.x. I thought I had it working with Flex 4 as well. Now I'm using Flex 4.5. Is there an issue here, possibly due to security policy changes?With all of this happening on localhost, why is the Flash player requesting a crossdomain.xml file?
[code]...
View 2 Replies
May 6, 2010
What is the maximum number of concurrent connections possible in BlazeDS using only remoting service
View 2 Replies
Apr 7, 2011
How can i settings crossdomain.xml my flex project.* this is my crossdomain.xml.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
[code].....
I've tried lots of different methods but my project send error message "Security error accessing url Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL [URL]"
put the file in different places
C:wampwwwMYPROJECTin-debugcrossdomain.xml
(my swf url : http://localhost/bin-debug/test.html checked http://localhost/bin-debug/crossdomain.xml its ok)
C:wampwwwcrossdomain.xml
I added the load line of the project
protected function application1_initializeHandler(event:FlexEvent):void
{
Security.loadPolicyFile("http://localhost/MYPROJECT/bin-debug/crossdomain.xml");
}
if flex server type select none everythings ok. but server type select PHP need crossdomain.xml how can i fix.
View 1 Replies
Jan 9, 2011
I'm trying to find out how I can tell how many users are connected to the same FMS application in a flex application:
public function totalConnectedUsers():void{
lblText1.text = "There are a total of " + bindableUserVariable + " Users Connected to the Stream Now";
}
View 6 Replies
Dec 14, 2009
How can I add a crossdomain.xml to the root of my Hudson server? I'm working on a Flex->Hudson bridge and I'd like to access it directly, instead of relying on a proxy to do it for me.
EDIT: This is standalone Hudson, not running on any application server.
View 2 Replies
Apr 4, 2011
where should I put the crossdomain.xml to my grails app? I need to use webservices from external domains in my flex client app. I put it into my web-app folder but it seems not working..
View 3 Replies
Feb 18, 2010
I am trying to do a "hello world" level test of FTP in Flex, but for three days now, I cannot overcome the issue with how to coerce flex into accepting my crossdomain policy - even for testing purposes.Here is my code: The exact error text follows.
[Code]...
View 3 Replies
Oct 20, 2010
I've changed the protocol for my flex app from https to http and flashplayer still wants to download the crossdomain.xml using https though with the port for http. [URL]..
View 3 Replies
Feb 16, 2011
I would like to know how to configure the flex crossdomain.xml in tipfy with the Google app engine skd. Tipfy is a framework using in Gae. I would like to know: where I can place the crossdomain.xml, in the root or other place, do I need script to redirect to the xml, what files that I need to modify, eg. app.yaml. Any other things or file I need to modify or create to make it work.
View 2 Replies
Oct 3, 2010
in my flex application:[URL].. when i run my app, I catch this error:
SecurityError: Error #2123: Security sandbox violation: Loader.content: http://mySite.com/2/BusFlex/BusProducts.swf/[[DYNAMIC]]/2 cannot access http://cs9621.notMySite.com/u7397474/c_b51d9fe6.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
[Code]...
View 3 Replies
May 26, 2011
I've created a Flex app which uses Coltware's airxmail to send SMTP messages. It calls a locally-hosted SMTP server (hmailserver), which relays the email out as appropriate. When run within the Flash Builder environment, everything works as intended. I can also send email both locally and remotely from the SMTP server using telnet, so I know that it's not a problem with the server. When hosted on the email server box itself, outside of the GUI, the app fails to send email. I've created a crossdomain.xml file to allow this access, but I don't believe it's configured properly.
[Code]...
View 1 Replies
Oct 29, 2010
I have an issue with an asmx service I am trying to access. No crossdomain file. I read there is a way around this using HTTPService instead of a webservice. Still cannot load the wsdl. See code below.
var dataService:HTTPService = new HTTPService();
dataService.url =
"http://flexmappers.com/proxy.php?url=http://www.server.net/carbon.asmx";[code]....
View 2 Replies
Jul 2, 2009
Flash Player 10 specifies:
"Redirects to policy files outside the originally requested domain will continue to cause policy files to be ignored by Flash Player."
Is there a way to access policy files outside the domain?
View 4 Replies
Oct 28, 2010
I have to deploy a webapp on Tomcat 6.0.24, serving some webservices that should be accessed with REST-style methods (not fully REST, since the used flex class HTTPService can just send GET and POST).
The webservices are deployed at [URL]
The problem is that the policy of flex sandbox (i think it is called so) requires that the server with the services has to offer a file crossdomain.xml on his root directory.
I created that file with the following contents:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
[Code].....
I am testing it and it does not seem to work. Maybe i am not doing it right. PS: I think Apache is not configured to manage Tomcat-addressed requests, every request is dispatched by port, i think. I can not provide the exact flex error since i am not developing that part. I will try to make a minimal example in the next hours and see if i can reproduce the problem.
View 1 Replies
Apr 27, 2011
I have recently uploaded my flex applicaiton on server, it works fine on my system (localhost) but on the production server it tries to access[URL]..which is not available and end up showing "loading" eternally.
View 2 Replies
Oct 6, 2011
I am trying to debug a socket connection issue between flash in a web browser and flash in a client type program. The connection is closing properly in the web, so I would like to understand how the web side of things work. Right now I can load up a remote flash file in a web browser and that triggers a connection ESTABLISHED stat when viewing with netstats -fn. When I close the dialog which runs some javascript to remove the flash from the dom, the connection stats goes to TIME_WAIT. Does the act of removing the flash from the html DOM sever the flash connection which triggers a TIME_WAIT state? How does that process work?
View 1 Replies
Aug 23, 2011
I am using Wowza Media Server's webcam record capability in a project. It records the webcam feed over RTMP which is connected to via a flash file. It's all working fine, but I need to stress/load test the functionality to check how it'll scale up.
View 1 Replies