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?

View 1 Replies


Similar Posts:


AS3 :: Avoid Security Errors When Using The Youtube Player API

Sep 24, 2010

I'm using the Youtube AS3 Player API to load video's in a Flash Project. I get this really annoying Error when loading the Player swf:

SecurityError: Error #2047: Security sandbox violation: parent: http://www.degoudenglimlach.be/main.swf cannot access http://www.youtube.com/[[IMPORT]]/s.ytimg.com/yt/swf/watch_as3-vflbgr4dW.swf.

I tried adding the following to my code before loading the swf but it doesn't make any difference:

Security.allowDomain("*");
Security.allowDomain("www.youtube.com");
Security.allowDomain("youtube.com");
Security.allowDomain("s.ytimg.com");

[Code]....

View 2 Replies

AS3 :: Flex - Security Errors Using Youtube Chromeless Player

Jul 6, 2010

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?

View 2 Replies

Flash :: Media Server 4 Enterprise Load Balancing?

Dec 4, 2010

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.

View 3 Replies

ActionScript 3.0 :: Loading IP's From XML / Load Balancing And Failover?

Oct 6, 2009

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:

package
{
import flash.display.Sprite;
import fl.video. *;
import flash.events. *;

[code]....

View 0 Replies

Media Server :: Setup A Load Balancing Between Two Servers Or More?

Jan 1, 2012

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

View 1 Replies

Flash :: Accessing High Scores Site Raises Security Errors

Mar 13, 2012

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.

View 1 Replies

Adobe FLash Player Security

Dec 4, 2009

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.

View 4 Replies

Flash Player Security Settings?

Mar 22, 2012

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.

View 1 Replies

Actionscript 3 :: Adobe Flash Player Security Pop-Up

May 27, 2010

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]

View 1 Replies

Stop Errors Appearing In Another Window When Swf Is Run In Flash Player?

Jan 4, 2010

Stop errors appearing in another window when swf is run in flash player?

View 1 Replies

Actionscript 3 :: Flash Player ( Debugger ) - Show Again The Errors?

Oct 12, 2011

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 ?

View 1 Replies

ActionScript 3.0 :: Disable Flash Player Debugger Errors?

Feb 20, 2009

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.

View 8 Replies

Security :: Keep MP3 Files Secure While Using A Flash Music Player?

May 12, 2011

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.

View 2 Replies

Flash :: Player 10 Security Model For File Uploads?

Feb 18, 2012

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.

[Code]...

View 2 Replies

ActionScript 3.0 :: Stop Flash Player Security Panel?

Oct 10, 2011

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?

View 0 Replies

ActionScript 3.0 :: NavigateToURL Causes Adobe Flash Player Security?

Apr 30, 2009

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.

View 1 Replies

Actionscript 3 :: Flash Is Not Showing Errors/Stacktraces In Debug Player

Jul 29, 2011

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.

View 3 Replies

Flex :: 2047 Security Sandbox Violation Errors While Loading An External Swf File From Server Side

Jan 31, 2011

This is my code and i want to place an external swf file for my flex application website. This is my code:

var loader:Loader = new Loader();
var url:URLRequest = new URLRequest("http://www.my site.com");
loader.load(url);
addChild(loader);

View 1 Replies

Flash :: Professional - Offline Access To Security Settings For Player?

Mar 22, 2010

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.
 
[Code]....

View 12 Replies

Media Server :: Flash - Player Security Pop Up When Using Camera And Microphone?

Aug 25, 2010

how to remove flash player security pop up for camera and microphone through coding.

View 4 Replies

ActionScript 3.0 :: Disabling The Flash Player Security Question To Access Cam And Mic

Aug 26, 2010

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.

View 1 Replies

ActionScript 3.0 :: Skin Or Style Flash Player's Security Panel?

Oct 25, 2011

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?

View 3 Replies

ActionScript 3 :: Flash Security - Player Download Only For One Domain Usage?

May 20, 2010

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.

View 1 Replies

Flex :: Disabling The Flash Player Security Question To Access Cam And Mic

Aug 26, 2010

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.

View 1 Replies

Flash - AsyncErrorEvent Isn't Working To Catch Errors For RTMP Video Player

Nov 19, 2009

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);

[code]...

View 1 Replies

Flash Player 10 Vs FP 9 - Pile Of 1009 Errors And Many Of Tweenlite Instances Won't Work

Apr 7, 2010

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?

View 1 Replies

ActionScript 2.0 :: Security - Secure Information Transferred Between The Flash Player And The Website?

Jun 5, 2008

How would one secure information transfered between the flash player and the website?

View 1 Replies

Security - Load Remote Images Into A Flash Sideshow?

Aug 7, 2009

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 () {

[code].......

View 3 Replies

ActionScript 3.0 :: Flash.net.URLLoader.load() Causes Security Sandbox Violation?

May 5, 2009

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].........

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved