Skip navigation
mfjc87
Currently Being Moderated

Crossdomain restrictions

Jun 7, 2012 12:02 PM

I'm trying to make an app that will call out to two websites that I don't own, using HTTPService (and one of the websites I want to communicate via SSL). I read that Flash has some crossdomain restrictions on this, and that I'd have to have a crossdomain XML policy file on those domains to have my app be able to fetch information from them, but as stated I don't own the domains. I can't use a proxy either, because the site needs the actual user's IP logged and won't work otherwise. Is there a way I could have it connect? Even if it has to display a warning dialog for the user to click Agree on, that's ok.

Sorry if I sound like a retard, I'm fairly new to this and this is probably the second thing I've made and first thing made from scratch.

Regards

 
Replies
  • Currently Being Moderated
    Jun 7, 2012 10:17 PM   in reply to mfjc87

    What are you trying to get from those websites? I think you can get some things if you sandbox them.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 7, 2012 11:39 PM   in reply to mfjc87

    I would think reCAPTCHA is used by html-based websites.  How would you do this from JavaScript?  If you can, that might shed light on what the rules are for Flex.  Have you verified that they have a restricted crossdomain.xml on the server?

     

    If you can do what you want from JavaScript you might also be able to use ExternalInterface and get JavaScript to do the work.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 8, 2012 12:11 AM   in reply to mfjc87

    Why does it have to be entirely done in Flash?

     

    Somehow, all of these other websites are using reCAPTCHA aren’t they?  Why don’t they have the same crossdomain.xml issue?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 8, 2012 12:55 PM   in reply to mfjc87

    Well, then you might be stuck.  It sounds like you want to provide high-security for your app while finding a way around someone else’s security.  There might be some other captcha provider with a SWF version.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 8, 2012 10:38 PM   in reply to mfjc87

    It depends on what you are fetching.  If you’ve tried it and the request is denied, then there is no workaround to allow that request other than a proxy server.

     

    There might be CAPTCHA vendors that do support SWFs.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 13, 2012 9:23 PM   in reply to mfjc87

    The server owner has locked you out, and Flash is not going to allow the end user to open the lock.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 14, 2012 12:11 AM   in reply to mfjc87

    You said that in a HTML/JS solution, there is JS hosted on their server you can use.  If you can find a way to use that with their permission, then you have a solution.  Basically, the provider has to provide the mechanism, you can’t force them, otherwise there would be no security.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 14, 2012 5:43 PM   in reply to mfjc87

    That is the primary reason, but the configuration is essentially the same.

     

    A quick search showed that there might be some SWF-based CAPTCHA services, but I could be wrong about that.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points