Installation guide
Authorization adaptor plug-in
New feature in Flash Media Interactive Server; requires Flash Player 6 or later.
enextlineofdefenseistheauthorizationadaptor.Aserverplug-inwritteninC++,the
authorizationadaptorauthorizesclientaccesstoserverevents.Oncetheconnectionhasbeen
established, but before it is accepted, the authorization adaptor comes into play.
Authorization adaptors can:
• Authorizeconnectionstotheserver
• Authorizeplayingastreamorseekinginastream
• Authorizepublishingastream
• Disconnectclientsfromtheserver
• Callamethodinserver-sideActionScript
• Delivercontenttoclientsaccordingtotheirgeographiclocation,subscriptionlevel,and
stream origin
• Limittimeanddurationofauser’saccesstospecicstreams
• Mapalogicalstreampathtoaphysicalstreampath.Forexample,aclientrequeststhestream
“foo.v,”butsinceheisnotapremiummemberoftheservice,heshouldonlyreceivethe
low-qualityversionofthatcontent,soheisactuallyserved“bar.v.”
Unlike the access adaptor, you can use multiple authorization adaptors to sequentially perform
actions on the incoming event. For example, auth1.dll (orauth1.so)couldauthorizethe
client connection; auth2.dll(orauth2.so)couldthenauthorizethatclienttopublisha
stream, and so on. e server applies the adaptors in alphabetical order.
As you can see, authorization adaptors can be very powerful for stream security and access
control at a granular level. ey can be congured to implement custom functionality ranging
from rights management to logging.
Dynamic access control
When clients access the server, they have full access to all streams and shared objects by default.
Access control is possible, however, using server-side ActionScript. You can create a dynamic
accesscontrollist(ACL)whichcontrolswhohasaccesstoread,create,orupdatesharedobjects
or streams.
Inserver-sideActionScript,eachclientthatconnectsisassignedtoaClientobject.EachClient
object has readAccess and writeAccess properties. ese properties can accept multiple
comma-delimited values. By setting these values when you accept the client connection, you can
control which streams and shared objects any given client can access.
Stream encryption
FlashMediaServer3oerstwooptionsforencryptingyourstreams:SSLandRTMPE.
SSL
Feature available in Flash Media Streaming Server and Flash Media Interactive Server; requires
Flash Player 8 or later.
InearlierversionsofFlashMediaServer,encryptedstreamingwasavailableusingSSLdelivery,
throughRTMPS.isformofencryptionisstillsupportedinFlashMediaServer3.Implemen-
tation requires the use of a third-party certicate with some server-side conguration. Flash
Media Server 3 now oers an easier, optimized way to implement an encryption solution, using
encryptedRTMP(RTMPE).
51