BB FlashBack SDK: FBExportToSWFParams

Using the SecureDomain and SecureCode features

The SecureDomains and SecureCode properties can be used to restrict how the exported SWF can be played back from third party domains, webpages and SWF files.

 

1. UseSecureDomain = False  and UseSecureCode = false

  • The SWF can only be called from other SWFs that are in the same domain.

  • The SWF can be played back inside webpages in any domain.

 

2. UseSecureDomain = True and SecureDomain="www.abc.com" and UseSecureCode = false

  • The SWF can be called from any other SWFs in the "www.abc.com" domain.

  • The SWF can be played back from webpages in any domain.

 

3. UseSecureDomain = True and SecureDomains = "www.abc.com" and UseSecureCode = true and SecureCode = "abc"

  • The SWF can only be called from other SWFs that are in the "www.abc.com" domain and pass the code to the play() method.

  • The SWF can not be played back from any webpages in any domain.

 

4. UseSecureDomain = False and UseSecureCode = True and SecureCode = "abc"

  • The SWF can be played only from SWFs in the same domain that pass the code to the play() method.

  • The SWF cannot be played back from webpages in any domain.

 

See also

FBExportToSWFParams::UseSecureDomain  FBExportToSWFParams::SecureDomains  FBExportToSWFParams::UseSecureCode  FBExportToSWFParams::SecureCode