ActionScript 3.0 :: DNS Load Balancing And Flash Player - Getting Security Errors
Mar 18, 2011
I have some Flash application that loads data (external images, SWFs, XMLs) from the same domain. And it was fine until client decided to add load balancers for server. Now we have a number of complaints from users about security errors. It looks like application can't load external resources treating them as resources from different domain without crossdomain.xml.
One of users that have this problem provided us with following info:
Browser: IE 8.0
OS: Windows 7
Flash Player version: 10.1.102.64
I have spoken with server administrator and he told me that we have load balancers that work like Round-robin DNS. In its simplest implementation Round-robin DNS works by responding to DNS requests not only with a single IP address, but a list of IP addresses of several servers that host identical services. The order in which IP addresses from the list are returned is the basis for the term round robin. With each DNS response, the IP address sequence in the list is permuted. Usually, basic IP clients attempt connections with the first address returned from a DNS query so that on different connection attempts clients would receive service from different providers, thus distributing the overall load among servers.
Finally we have: SWF loaded from IP1, data requested from IP2, crossdomain.xml loaded from IP1. All of them can be accessed through the same domain, but have different IPs.Because of IPs difference, Flash Player ignores crossdomain.xml and triggers security error.I'm not sure it happens exactly like that, since for older versions of Flash Player I have found the following words:
The basis of domain comparison is the domain name, not IP address.
So, I have two questions after all of that: How exactly domain comparison for HTTP-connections works in latest versions of Flash Player? Can two resources obtained by address with same domain name but from different IPs treatened as obtained from different domains? Maybe someone have info about DNS rebinding in different browsers?
I'm trying to use the Youtube Chromeless Player (the new AS3 version) in a Flex 4-based project. I'm using the examples provided by Google, but I'm not having any luck. The player loads, but it can't be interacted with. I'm receiving repeated security errors just from mousing over the player:
[Code]....
I've been at this for a few hours now, and haven't had any success. I also can't seem to find any working examples online. Is this new player just not compatible with Flex 4?
G'day chaps, me and my mates have purchased a copy of Flash Media Server 4 Enterprise edition for use on our web project. Since we will be transmitting to large amounts of users through this exceptional piece of software, we will be needing to run more than one server at once. Before going ahead and doing anything against the policies we have decided to post here on the support forums and inquire about being able to run multiple copies of Flash Media Server 4 Enterprise edition with one Serial KEY ( 10 x GigE dedicated servers ). If this is not possible, how can me and my chappies load balance all the traffic through one Flash Media Server 4 Enterprise edition.
I have an xml file that contains the ip values (2) to our servers, what I want to accomplish is: 1st read the xml and grab those values, 2nd randomly select one of those ip's and create the rtmp://...path to play the video, 3rd if one of those servers is down then use the other one to play the video and 4th if all servers are down display some sort of message to try again later. I am reading the xml and grabbing those values, I am randomly selecting an ip and creating the rtmp://...path, but where I am having problems is playing the video from the other server. What's happening is that when it hits the box that is down and swithes to the other box it actually show the first frame of the video but it doesn't play. Here is my code in my .as file:
I have a load balancing problem for example I have two FMS servers I want to make aconnection between them if the first server overload the second can handle the request
I have a flash game. I've been trying to connect it to a php website that uses a mySql db. It works when I "test project" it from flash, however when I run it from a player/browser it raises errors about accessing a site. What setting need I ask from my users to set in their flash player - I have personally looked for the right settings and found nothing about approving sites. Is it possible that if both my game and my php site reside in the same base url - that is same server - that this error shall not appear? I really want to test this my self, but my server is a free server and doesn't allow me to upload certain files that are heavy.
I am building a photography web site with flash and I found a really cool slide show extension plug in (www.slideshowpro.com) were can easily upload and update my portfolio slide shows.when I publish out to HTML, I test it in a browser and I get this warning when I click on the photography page.I read in adoby help and it said flash developers can allow communication between sites with this AS code Security. allowInsecure Domain ("nathan44. slideshowpro.com");so I added this code to my actions layer on the firs frame in "scene 1" and to the actions layer in the photography section. But nothing changed i still get this warning when ever I publish out to an HTML, when I just preview with control + enter i can view the sideshows fine.
I am using twilo client in one of my apps and it is showing following popup when I click on call buttonBut I want to show the following pop up which is lot simpler and seems less cumbersomeIs there a way to control which pop up comes on the screen? I have read some documentation of adobe but their configuration files live in users computer which ofcourse can not be changed by a website.
I am building a Audio Recording tool using Flash and Wowza. I dont want to start the recording until the use clicks the Allow Button is the Security Pop-up question represented here [URL] In Audio I dont get this until I attach the stream to it. In Video can get thsi question when I attach the camera to Video.
I want to avoid making a connection until the user clicks Accept and this doesn't happen until I make the connection request in Audio. I am able to display the [URL] pop-up using SecurityManager Is there a way I can call the pop-up from my code. [URL]
I have pressed "Dissmiss all" button inside Debugger window of Flash player, and it stoped permanently showing me the errors on the page.How to resume showing the errors inside Flash debug window ?
disable error messages generated by the debugger version of Flash Player 10? Error messages are great while I am developing, but not while browsing other sites It is a drag to keep reinstalling the player.
Alright so I'm making a website for my friends band, and they want to have a music player to play their MP3's. One of the things I'm concerned about though, is the security of the MP3 files. Their albums are on iTunes to buy, so I'm looking for what the best option to have the MP3s be played but not be able to be downloaded and saved.The best thing I can think of is embedding the MP3's inside a Flash music player, but that would be more work than it's worth it seems.
I've been reading about the security restrictions for file uploads in Flash Player 10.According to the FileReference docs for upload(), the upload does not have to be triggered by a user-initiated action (the browse() does, but that's another story). If it did, that would force an awkward user experience for multi-file uploads, since only one upload can occur at once -- so the user would have to click (or press a button) once per file to initiate the upload, but only when the previous file had finished uploading.
I want to stop flash player security panel to appear every time in my video recorder. I apply allow and remember but still popup appears. How I can stop this popup if once user chooses allow and remember?
This Adobe Flash Player Security box is really getting in my way. I have a button that acts as a lind to a web page It has this bit of code programmed to it:
button.addEventListener(MouseEvent.CLICK,buttonCli ck); function buttonClick(event:MouseEvent):void { var req:URLRequest = new URLRequest('http://..."); navigateToURL(req); }
Can anyone tell me if calling navigateToURL() causes this security box to appear every time if you havent trusted this .swf in your flash settings? i have looked at a way to handle the "link" with javaScript but before I get too deep into something I'm not too familiar with I wanted to see if there was a way to here within flash while avoiding the flash security box.
I am trying to debug application which fails on me silently online. I am a 100% certain that I am running the flash debug player. To even make sure I am not losing it, i throw an Error ON PURPOSE. But flash shows not a single stracktrace in the browsers. I am kind of close of losing it. Any clues ? I am trying this on chrome, and firefox. WTH? Compiling with FDT, debug mode, even set the compiler argument debug=true. This is normally not the case.
I use a laptop which is never connected to the web for customer demos away from base. It does not have the Flash authoring environment installed either. Furthermore, a customer's own system used to run development versions of web sites using HTML with Flash content is not guaranteed to have web access either. Because some of the associated FLV files are quite large, uploading to a web host for such testing is not really viable even where clients have web access at meetings.
I have an AS3-based project which triggers Flash 10 local security protection on systems other those that used for authoring, for which the workaround is to set the source folder as trusted using the Flash Player Settings Manager. but [URL] doesn't seem to offer a useful way to avoid this problem without going on line to the Flash Player Settings Manager via an Adobe web site.
does anybody know if disabling the security question in the flash player is ok? I need to know the exact facts by reference whether it is ok or not. I found some answers to this but they were assumptions but nor rigid. for instance a reference to Adobe's documentation that says any workaround is illegal.
Problem: Users of our web app are complaining how hard it is to get past Flash Player's Security Panel when they want to make video calls. (Personally, I don't see why it's hard.) We tried several things to guide them through the process, including callouts pointing to the Security Panel area with specific instructions and even an auto-play video. But still some don't get it. I think the biggest confusion is the "Close" button. Users think that it will close the app or the entire window.
Solution #1: It's possible that part of the problem is the small size and styling of the Security Panel.Is it possible to apply a style or skin to the Security Panel, so that it's larger and looks more consistent to our web app?
Solution #2: Perhaps there's also a non-technical solution. Has anyone seen a good implementation of a web app that make it easy for non-technical users to make video calls?
I am developing a player and I want to make it for only one domain usage for one download. If user needs again then again hew needs to download another version from my site. How can I make it.
does anybody know if disabling the security question in the flash player is ok? I need to know the exact facts by reference whether it is ok or not. I found some answers to this but they were assumptions but nor rigid. for instance a reference to Adobe's documentation that says any workaround is illegal.
I have this streaming video player with an asyncErrorHandler function which isn't working correctly.In Flash player 10 I get no errors, but in Flash player 9 I'll get a popup window with the error message that shows up in my output window when I test on my local machine.
Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetConnection was unable to invoke callback onBWDone. error=ReferenceError: Error #1069: Property onBWDone not found on src.display.VideoClass and there is no default value.
I feel that I have my AsyncErrorEvent setup correctly however, but am unsure as to why I still get a massive error in my output window, here is the popup window and code below:My statusEventHandler function
// ☼ --- Handle Status and Errors function statusEventHandler(event:NetStatusEvent):void { trace("connected is: "+ncConnection.connected); trace("event.info.level: "+event.info.level);
My movie publishes fine in FP9. When I try to publish in FP10 (so I can use unloadAndStop() ) I get a pile of 1009 errors and many of my Tweenlite instances won't work. Is there something obvious I'm missing here? Are there big differences between FP10 and 9?
Trying to load remote images into a flash sideshow local files work even if I use absolute path. I am updating existing gallery to dynamically pull images from Picasa.The php works fine and pulls the images from the API. But when I pass the XML to flash it wont load remote images. to ActionScript but it still wont work. The scrip for the sideshow is:
System.security.loadPolicyFile("http://photos.googleapis.com/data/crossdomain.xml"); System.security.allowDomain("*"); MovieClip.prototype.addProperty("onLoad", function () {
I have a small Flash app that generates a security sandbox violation when flash.net. URLLoader() is called.I have been very careful to check for mistakes in my network/security settings, e.g., -use-network=true, cross-domain policy file, Security.allowDomain(), Security.allowInsecureDomain()
, Security.loadPolicyFile(), etc.
I have been working on this issue all day.I have read every Web page I can find on the issue to no avail.***Objective***1) Upload a SWF file, XML config file, cross-domain policy file, JPG files, [code].........