Skip to Content »

FlashApe » FMS 3 SWF Verification

 FMS 3 SWF Verification

  • January 25th, 2008
  • 12:13 pm

As mentioned in my previous post, one of my favorite new features of FMS is a security feature called SWF Verification, which is crazy easy to implement and very effective.

You need to do two things: First, change the <SWFVerification enabled="false"> to "true" in your Application.xml file to turn on the feature. Then simply store a copy of the swf that will be connecting to the server within a special directory, and FMS will check to make sure that the swf that is trying to connect is the same exact swf that it has on it's server. If it's not, FMS does not allow the connection. Of course, this will only work with Flash Player 9.0.115 or later...so what to do about people using older versions? Easy. There is a tag called <UserAgentExceptions> that will allow you to exclude any particular user agents from participating in the SWF Verification. It's works on ranges too, you can do:

XML:
  1. <UserAgentExceptions>
  2.     <Exception from="WIN 9,0,0,0" to="WIN 9,0,0,114" />
  3.     <Exception from="MAC 9,0,0,0" to="MAC 9,0,0,114" />
  4.     <Exception from="UNIX 9,0,0,0" to="UNIX 9,0,0,114" />
  5. </UserAgentExceptions>

and that will tell FMS to bypass the SWF verification for those flash players trying to connect.

1 Person had this to say...

[...] mere her: FMS 3 SWF Verification Tags: Flash Media Server 3, sikkerhed Del:These icons link to social bookmarking sites where [...]

Want your say?

* Required fields. Your e-mail address will not be published on this site


You can use the following XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>