Blobs, REST, Firefox and Silverlight = Security Error

Hello,
I'm trying to access Azure Storage blobs (via SAS string) from a Silverlight application. A clientaccesspolicy.xml is present in the $root blob container, allowing Silverlight access.
I've created a sample Silverlight application with just one button. The button executes the following code:
            var request = (HttpWebRequest)WebRequestCreator.ClientHttp.Create(new Uri("http://[mystoragename].blob.core.windows.net/[mycontainername]/[myfilename]?[sasString]"));
            request.Method = "GET";
            request.BeginGetResponse(r =>
                try
                    var response = request.EndGetResponse(r);
                    using (var s = response.GetResponseStream())
                        this.Dispatcher.BeginInvoke(() => MessageBox.Show(s.Length.ToString()));
                catch(Exception ex)
                    this.Dispatcher.BeginInvoke(() => MessageBox.Show(ex.Message));
            }, null);
Running this code on IE produces the expected result - the size of a blob uploaded to Azure Storage. Unfortunately, the same application, when ran in Firefox, produces a "Security Error" with no further indication of what might be wrong.
What could be the issue? Where should I even begin looking for one?
EDIT:
The same issue occurs in Chrome.
EDIT 2:
The SAME issue occurs when I try to download a file from a PUBLIC blob container (same code as above, only different URL). The public blob container also has it's own clientaccesspolicy and crossdomain XML files. Again - the code works in IE, but fails to function
in Firefox / Chrome.

I found a valid workaround.
I've created an ASHX handler on the web site which is hosting the Silverlight application. This handler basically "redirects" a HttpWebRequest to Azure Storage.
            var url = String.Format("http://{0}.blob.core.windows.net/{1}/{2}{3}", accountName, containerName, blobName, sas);
            var request = (HttpWebRequest)WebRequest.Create(url);
            try
                var response = request.GetResponse();
                context.Response.ContentType = response.ContentType;
                using (var stream = response.GetResponseStream())
                    stream.CopyTo(context.Response.OutputStream);
            catch
                context.Response.End();
Where the parameters used in building the url are passed as query string parameters to the ASHX handler. While not ideal (an ideal solution would be connecting from SL directly to Azure Storage), this works fast enough and doesn't seem to use much resources.

Similar Messages

  • Trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    There is a version of Firefox 4 available for PPC Macs:
    TenFourFox 4.0.1 Firefox 4 For PowerPC Browser Released
    Version 4.0.1 of TenFour Fox, FloodGap's port of Firefox 4 for Power PC
    Macs that supports both Mac oS X 10.4 and 10.5. has been released.
    Mozilla.org dropped support for OS 10.5 after Firefox 3.6 and for Power
    PC with the fourth beta of Firefox 4.
    TenFourFox uses almost all the same code as Firefox 4 and has nearly all
    the same features, including faster JavaScript, WebM video, and HTML 5
    and CSS 3 support, as well as new and emerging Web features, but with
    the code needed to keep your Power Mac functional and fast. Out of beta
    and it's ready for action, versiob 4.0.1 is a performance, security and
    stability update incorporating Mozilla's Firefox 4.0.1 plus AltiVec acceler
    -ation for WebM and browser graphics, and G5 JavaScript acceleration.
    For more information, visit:
    http://www.floodgap.com/software/tenfourfox/
    Source: from http://www.applelinks.com - posted April 25, 2011)
    Now for the intersting bit: TenFourFox, like Firefox, does not support most plug-ins. Unless you are prone to headaches (in which case don't) you can read about that here:
    http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    But there is a workaround!
    Open TenFourFox and type in the address bar: about:config (no spaces) and click return. This gives you a warning that it might harm the application. Ignore that and click on 'I'll be careful, I promise' and you get the config file that you can edit - with great care.
    Look/search (scroll down) for: tenfourfox.plugins.enabled
    Set it to true. (Double click it to toggle it)
    Now close TenFourFox, open it again, and Flash will now work, as it now uses the plug-ins that Safari has stored.
    With SilverLight, Microsoft attempted to create their own version of what a replacement for Flash could be - but not to universal acclaim. You can read more about it here:
    http://silverlight.net/
    So, if you go to any sites that have been designed for this new Silverlight stuff, you can download the plug-in from here (but make certain that you are downloading SilverLight v.1.0 for OS X (10.4.8 upwards) if you are using a PPC Mac, but even this will not work with Safari 4. Version 2 only works with Intel Macs and does work with Safari 4/5. The solution is to download and install the latest version of Flip4Mac, which now includes a Silverlight component:
    http://dynamic.telestream.net/downloads/download-flip4macwmv.htm
    But the latest news is that Microsoft will probably abandon Silverlight in favour of HTML5:
    http://www.appleinsider.com/articles/10/10/29/apples_ios_pushes_microsoft_to_dia l_down_silverlight_for_html5.html  and
    http://www.bbc.co.uk/news/technology-11673384

  • Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error, so you can load Firefox again.

    Whenever you try to save a PDF file to a location other than the default location ('My Documents'), Firefox freezes & you have to go to the 'Task Manager' to exit Firefox and stop the error. I have Windows XP (Media Center Edition) and all updates (Firefox, Adobe PDF, Microsoft, virus protection, etc) are installed. This has only been a problem since Firefox 4, and isn't a problem in Internet Explorer.

    Hi David,
    Thank you for your detailed question. It sounds like the real issue is pdf files. Are there any antivirus/firewalls that might be blocking this specific file type? or are there any preferences in your control panel that might be blocking this?
    Do you have any stored preferences for PDF files in Firefox?
    *[[Applications panel - Set how Firefox handles different types of files]]

  • I want to restore my old version of firefox and my security that was disabled as well as all my plugins, add ons, and so forth. How do I do that?

    I want to restore my old version of firefox. I also want to restore my security that was disabled and all my plugin and add ons. How do I return to where I was?

    The only fully supported and updated versions of Firefox are 3.6.22 and 6.0.2. All other versions contain security of stability errors that have not and will not be corrected.
    '''''"...my security that was disabled..."'''''
    Any toolbar that your security application installs into Firefox may have been disabled because the developer has not updated their toolbar.
    *The functioning of your security application should not be affected, just the toolbar.
    *You can try updating your security product as some security application developers have recently released updates of their products that are Firefox 6 compatible.
    *You can visit and/or post on your security application developer's forum to see if they can make suggestions for you or let you know about their plans to update for Firefox 6 compatibility and to confirm that your security application is still fully functional, just the toolbar is disabled.
    Firefox has a built-in function that provides one of the major functions of most security application toolbars. '''''Safe Browsing''''', the built-in Firefox component, will warn you when you try to go to a known Malware or Phishing site:
    *http://www.mozilla.com/en-US/firefox/phishing-protection/
    *'''''Sample''''' warning screens:
    **http://www.mozilla.com/firefox/its-a-trap.html
    **http://www.mozilla.com/firefox/its-an-attack.html
    '''''"...all my plugins, add ons, and so forth..."'''''
    I can see many plugins that were not disabled; click "More system details" to the right of your original post.
    If any extension(s) other than Java Console (see below) were disabled, please reply with a list of the disabled Extensions and/or Plugins (Add-ons > Extensions and Add-ons > Plugins).
    '''<u>Java Console</u>'''<br />
    Unless you do Java programming/development or debug Java applets on web pages, you do not need Java Console. Java update will install a new Java Console with each update. Removing the Java Console extensions has no effect on the functioning of Java for web browsing. You can see, '''''but not remove''''', the Java Console extensions in Add-ons > Extensions. Java Console extensions can be safely removed '''''manually''''' by following the instructions in this article:
    *http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • OS Hangs On Firefox and Thunderbird Javascript Errors

    Hello all,
    I recently swapped out my old HD for and SSD, and cloned my HD image to the SSD. Since then, whenever there is a javascript error in either Firefox or Thunderbird, the entire OS hangs for about 30-45 seconds, and when it recovers, either Firefox or Thunderbird pops up a javascript error notification. I can't remember the exact language used, but it was something about a script on the page being unresponsive. In Thunderbird, I keep a tab open for Google Calendar and Google Contacts. I also keep a tab open for SimpleNote. So that's where the problem comes from there, but in Firefox it can be from whatever happens to be open.
    I absolutely never used to get a system freeze when I had a hard drive, but now that I have the solid state drive, I get them all the time. And almost always it's from the javascript unresponsive error in Firefox or Thunderbird. And I also almost never used to get javascript errors in either app when I had the hard drive.
    I've done a good bit of searching for other reports of this but could only find one somewhat similar report that had gone unresolved. It is really frustrating sitting there waiting, because the entire OS usually freezes and I can't even switch to another app.
    Machine is a 2007 MBP 2.33 GHz C2D.
    Any help is greatly appreciated!
    Thanks,
    steiney

    Just a quick update with a screenshot of the type of error I receive:
    This one must be a real stumper. I posted the same question on another forum and no one was able to help or solve the problem.

  • I have tried uninstalling and reinstalling Firefox several times. Every time I try to open Firefox I get an error message saying "Close Firefox"," A copy of Firefox is already open. Only one copy of Firefox can be open at a time."

    I uninstall Firefox, then reinstall Firefox, try to open Firefox, and get an error message in a popup box saying,
    "Close Firefox"
    "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Update muse and made changes to home page now getting this error message... error calling selector function: Security error:Failed to read the content document html Iframe element

    Made changes on my home page and it looks great in the preview in browser, but when i upload to my server I get the attached error message. PLEASE HELP!!!

    It's common for opening a locally exported website that contains Social widgets or other third party code to generate security errors because it will be loaded in the browser using file:// protocol. When a site is previewed from Muse (in Muse or in browser) or uploaded to a hosting provider it's served using http:// (or https://) protocol and the security errors don't occur.
    The third party code that comes with using the Social widgets or any other widgets that rely on third party code and/or services is frequently not designed to work over file:// protocol.

  • Not long ago I tried to reset Firefox and now I can't access it. How do I get back in?

    Not long ago I rest Firefox and have not been able to access it since. It says "not accessible or missing" now. All troubleshooting tips require accessing Firefox but I can't do that. Is there a back-door way to get back in?

    Download Firefox from www.getfirefox.com and try installing it over your current install.

  • Keep getting a pop up at the top of many websites I visit 'firefox security error content at *web address* may not load" I am using the most recent firefox and windows 7.

    Keep getting a pop up at the top of many websites I visit 'firefox security error content at *web address* may not load" I am using the most recent firefox and windows 7. This is happening at many sites, such as hotmail, google reader, and many others.

    Sorry, I don't think that is a message from inside Firefox, the wording doesn't sound correct - at least the beginning of that message. My "gut" thinks that is a MSN Live message to explain and compensate for their lack of security with a re-direct from a secure domain to an un-secure domain. ''(the end of that message)''
    {Ctrl + Shft + J} will open the Firefox Error Console - I'm curious what Firefox has to say about that situation. If you find the error message for that domain, you can right-click the message to '''copy''' it and then paste that error message here.
    Maybe '''TonyE''' or '''cor-el''' will be more familiar with the situation at Live and maybe at Google Reader, I don't use either of those services and have never seen a message like that myself.

  • Netflix Silverlight 2103 error after Firefox 3.6.15 upgrade, but IE remains fine, reinstall of Silverlight made no difference

    Within the last week, Firefox automatically upgraded itself to v. 3.6.15. Netflix started reporting a Silverlight 2103 error. I followed the Netflix instructions to uninstall Silverlight, then let Netflix reinstall Silverlight, which it did according to the Netflix instructions. MSIE continues to be able to play Netflix instant-view movies, even after the uninstall/reinstall of Silverlight.
    Did something break as of 3.6.15?
    Netflix reports that this particular combo is not a known issue and they have opened a case based on my report. I wonder if other users are silently switching to a different browser without reporting it...?
    Thanks for any ideas or solutions.

    The Netflix supervisor I spoke to today finally confirmed that it is a known condition. But he said Netflix can't contact Mozilla, only Microsoft since Silverlight is Microsoft's product (even though it seems to be a Firefox change at issue, not Silverlight breakage).
    The suggestion from Netflix is to switch to an earlier (and less secure) version of Firefox, or change browsers entirely to MSIE or Chrome. Please someone on the Firefox dev team check into this so Firefox doesn't lose market share to other browsers over this.

  • I had downloaded and installed one of those automatic Windows update and now whenever I try to open my Firefox I get an error message, "Platform version 6.0.2 is not compatible with minVersion 6.0.1 maxVersion 6.0.1

    I had downloaded and installed one of those automatic Windows update and now whenever I try to open my Firefox I get an error message, "Platform version 6.0.2 is not compatible with minVersion >6.0.1 maxVersion <6.0.1

    If you use ZoneAlarm Extreme Security then try to disable Virtualization.
    Do a clean reinstall and delete the Firefox program folder.
    * http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    *[[/questions/869812]]
    *[[/questions/869951]]

  • Security error while loading pdf file in jsp in firefox?

    When i type in the following link manually in firefox as " file://///172.16.2.1/copyediting/ELS/mallet.pdf", pdf file is loaded successfully in the firefox browser. PDF file is located in remote server which is referred by IP 172.16.2.1.
    I've assigned the Same link in a String in jsp page and tested it through my tomcat application as
    <%
    String linktotest="file://///172.16.2.1/copyediting/ELS/mallet.pdf";
    %>
    <a href="<%=linktotest%>">link</a>
    when i click on the hyperlink , the pdf is not loaded in firefox and i'm getting the following error in firefox error console
    Security Error: Content at http://172.16.3.222:8080/FMS/source/journal/ProductionEntry.jsp may not load or link to file://///172.16.2.1/copyediting/ELS/mallet.pdf
    can any one please give me the solution.

    Links and forms in HTML should point to public URL´s (with http:// or https:// protocol), not to the file system (with file://).
    If those files are not public accessible by URL, then you need to create a servlet which does the file streaming task. This example may be useful then: [http://balusc.blogspot.com/2007/07/fileservlet.html].

  • Trying to link large file to email. keep getting asked for master pw to security device. I have changed master pw on firefox and TB but still same response.

    I have tried over and over to send this large file. I've never synced before so i got that all set up. Then asking for master passwork to security device. Don't think I had ever set up an account so did that and created password. When trying to send the email I ask to link it goes to 'box' and I authorize thunderbird to use use it. then it ask for master password and I type that in and it doesn't work. I have reset master pw for firefox and thunderbird and still can't get it to work. I really don't know what I am doing here so any help is greatly appreciated. Thanks!

    In my previous response, I gave a link to this website page:
    http://kb.mozillazine.org/Master_password
    It contained some information about what to do if TB keeps asking for a 'Master Password' which was never set. This was an old bug that was resolved years ago, so it is surprising you are getting it assuming the Thunderbird Master Password was never set.
    However, your comments are confusing because they are conflicting; in your question you say:
    '' I have changed master pw on firefox and TB ''
    This implies you set a master password in Thunderbird and changed it, but in last comment you say you never defined it:
    '' I have used the Firefox direction to eliminate the master password, which I never defined in the first place,''
    I'm not sure what you mean by 'I have used the Firefox direction' - perhaps you mean the link I gave. As of course we are not talking about firefox :)
    So, at this point, it is hard to know what you did because you are posting conflicting information.
    Using info at the link, I presume you tried this:
    quote
    ''Thunderbird: Choose Tools -> Error Console, paste the expression: openDialog("chrome://pippki/content/resetpassword.xul") and press the Evaluate button. That will open a dialog asking you if you want to reset your password. ''
    quote
    ''If that doesn't work exit Thunderbird and delete the '''key3.db''' file in your profile.''
    Did you do this? You do not say if you did this.
    At no point does it say uninstall Mozilla Thunderbird program, so I do not know why you would do it. Uninstalling the Program has nothing to do with your Profile for very obvious reasons.
    '''More clearer instructions on how to delete the '''key3.db''' file.'''
    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    The AppData folder is folder is a hidden folder; to show hidden folders, open a Windows Explorer window and choose "Organize → Folder and Search Options → Folder Options → View (tab) → Show hidden files and folders".
    Assuming your Profile was stored in the default place, it can be located here:
    * C:\Users\Windows user name\AppData\Roaming\Thunderbird\Profiles\Profile name\
    Thunderbird must be closed before doing anything in the Profile folders.
    If you have since reinstalled Thunderbird, you can also use it to get quick access to your Profile folders.
    In Thunderbird
    * Help > Troubleshooting Information
    * click on 'show folder' button
    * '''Close/Exit Thunderbird - this is important'''
    * Look for and delete this file : '''key3.db''' file.
    * Restart Thunderbird.

  • I upgraded to 9.01 of Firefox and now get an error 'MORZCRT19.dll" -- because it falls within my area of expertise. I just need a few more details about your situation and I will get to work!

    I upgraded to 9.01 of Firefox and now get an error 'MORZCRT19.dll" --

    If you use ZoneAlarm Extreme Security then disable Virtualization and reinstall Firefox.
    See these about a similar problem caused by ZoneAlarm.
    *http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    *[[/questions/880050]]

  • "Unable to Connect" error continually shows up despite having reinstalled firefox and troubleshooting. How do I get firefox to work properly again? (windows 7)

    I turned on my computer and before I could start firefox it said it was updating. When it said it had finished updating and there were no error messages indicating that the update had failed. When I opened firefox it pulled up the last tabs I had open before closing the program. None of the tabs functioned properly and gave me "unable to connect" errors even when I opened new tabs, no matter what the website was. Everything worked properly in internet explorer. I tried restarting my computer and firefox, troubleshooting, restoring firefox, uninstalling and then reinstalling firefox, checking my firewall and the problem persists. I've tried changing my proxy settings according the articles on the support page but nothing has worked. How should I fix this? Firefox is my favorite browser I would hate to give it up.

    see: [[Fix problems connecting to websites after updating Firefox|Fix problems connecting to websites after updating Firefox]]
    Also possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    https://support.mozilla.org/kb/Server+not+found
    https://support.mozilla.org/kb/Firewalls

Maybe you are looking for

  • SETUP ERROR WHILE INSTALLING SQL SERVER 2008 R2

    Hi , I'm coming across the following error while installing Microsoft SQL Server 2008R2 SQL Server Setup has encountered the following error: The required MSI package 'D:\SQL Sever 2008 R2 Developer Edition\x86\setup\sql_engine_core_shared_msi\sql_en

  • Computer freezes after pacman -Syu

    Did a pacman -Syu and then rebooted after some programs did not work. When rebooting I get ************FILESYSTEM CHECK FAILED**************** * Please repair manually and reboot. Note that the root        * * file system is currently mounted read-on

  • Need to Upgrade Computer...What Steps to Re-Hook-Up Verizon?

    Hi, Our 2003 HP is overdue a retirement and I think I'm going to buy a replacement for Christmas as a gift for the family.  We currently have high-speed DSL and I don't know what I need to do to changeover to a new computer.  Do I use the installatio

  • How to recover deleted pictures in imessage on ipad

    how to recover deleted photos in message on ipad?

  • ???Exit JAVA app in Win2K LOCKS MACHINE???

    When i hit the X button in the top right to close my apps Win2000 Locks up completly. Why? What do i install to fix this problem? Im running JSDK 1.4.1_01 win 2k dont know what service packs or crap is installed! Someone help, i need to give presenta