Installation guide
Authorization adaptors can:
• Authorizeconnectionstotheserver
• Authorizeplayingastreamorseekinginastream
• Authorizepublishingastream
• Disconnectclientsfromtheserver
• Callamethodinserver-sideActionScript
• Delivercontenttoclientsaccordingtotheirgeographiclocation,subscriptionlevel,and
streamOrigin
• Limittimeanddurationofauser’saccesstospecicstreams
• Mapalogicalstreampathtoaphysicalstreampath.Forexample,aclientrequeststhestream
foo.v, but because the client is not a premium member of the service and should only receive
the low-quality version of that content, bar.v is served instead.
Unlike the access adaptor, you can use multiple authorization adaptors to sequentially perform
actions on the incoming event. For example, aut h 1.dll (orauth1.so)couldauthorizethe
client connection; auth 2.d ll(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)thatcontrolswhohasaccesstoread,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
FlashMediaServer3.5oerstwooptionsforencryptingyourstreams:SSLandRTMPE.
SSL
Feature available in Flash Media Streaming Server and Flash Media Interactive Server; requires
Flash Player 8 or later.
InearlierversionsofFlashMediaServer,encryptedstreamingwasavailableusingSSLdelivery
through RTMPS. is form of encryption is still supported in Flash Media Server 3.5.
Implementationrequirestheuseofathird-partycerticatewithsomeserver-sideconguration.
Flash Media Server 3.5 now oers an easier, optimized way to implement an encryption solution
usingencryptedRTMP(RTMPE).
RTMPE
Feature in Flash Media Streaming Server and Flash Media Interactive Server; requires Flash Player
9,0,115,0 or later.
EncryptedRTMP(RTMPE)isenabledonFlashMediaServerbydefault.Itallowsyoutosend
streamsoveranencryptedconnectionwithoutrequiringcerticatemanagement.Oering
secure128-bitencryption,RTMPEisonlysupportedinFlashPlayer9orlater,withtheupdated
FLVPlaybackcomponentandNetConnectionclasses.BothSSLandRTMPEcanalsobe
“tunneled”toensureconnectivitythroughnetworkrewalls.RTMPEistherecommendedform
ofencryption,becauseitiseasiertodeployandismuchfasterthanSSL.
55