Saturday, May 1, 2010

Tip: Flex with https require the web page to be https too

Just a quick tip.

Flex can make SSL call by simply specify "https" in the url of HTTPService.  However, the enclosing page must be in https for this to work.  Otherwise, you may get "Security Sandbox Violation" like the one below:


*** Security Sandbox Violation ***
Connection to https://graph.facebook.com/me/friends?access_token=xyz halted - not permitted from http://localhost:8888/xyz/xyz.swf


No comments:

Post a Comment