开发者

Remote hosted flex app

开发者 https://www.devze.com 2022-12-28 10:56 出处:网络
I have a flex app that is hosted on my server. It runs off an amfphp + mysql stack. I have had inquiries from potential clients who want to \"white label\" the product. Part of this means tha开发者_如

I have a flex app that is hosted on my server. It runs off an amfphp + mysql stack.

I have had inquiries from potential clients who want to "white label" the product. Part of this means tha开发者_如何学运维t they would want it to appear that the app is running off their server. So their clients would login at www.theirsite.com instead of www.mysite.com.

I obviously dont want to give them the actual app...but are there ways of letting their server redirect to mine without the user actually knowing?


I don't have extensive experience with Flex, but I've worked a lot with Flash. Several ideas come to mind:

  1. Create a wrapper: a SWF that loads your app. With the proper security settings, it should work. Check out this article on crossdomain.xml and the specs for Security.allowDomain()

  2. You could simply embed the SWF from your site, similar to a YouTube video

  3. If that is not satisfactory and your hosting services allow it, you can create a DNS A record or a DNS C record for a subdomain in there site, but you would support all the traffic that page has.


Probably the easiest way would be for them to alter their DNS record to make a CNAME entry (alias) that is a subdomain of theirsite.com:

yourapp.theirsite.com => www.mysite.com
0

精彩评论

暂无评论...
验证码 换一张
取 消