If you set the read access as follows:
client.readAccess = "appSO/"
the server allows all connected clients to subscribe to shared objects with names that begin
with
.
appSO
Similarly, you can make the call:
client.writeAccess= "appSO/public/"
and the client can create only shared objects with names that begin with
, such
appSO/public
as
, but is denied access to
, and so on.
appSO/public/foo
appSO/private
By using the preceding feature, and designing a naming scheme for streams and shared
objects, you can implement ACLs. For more information, see the
and
Client.readAccess
entries in the Server-Side ActionScript Language Reference.
Client.writeAccess
Developing secure applications
You can use Secure Sockets Layer (SSL) and other strategies to ensure the security of your
applications and the data they use.
Using SSL.
SSL support is available in Flash Media Server 2. To use SSL, you need to
obtain an SSL certificate from a certificate authority or create a certificate yourself. Flash
Media Server supports both incoming and outgoing SSL connections. To use SSL in your
applications, you need to configure both your applications and Flash Media Server settings.
For more information on configuring the server settings, see Managing Flash Media Server.
Real-Time Messaging Protocol over SSL (RTMPS).
RTMPS adheres to SSL standards
for secure network connections. It offers basic connectivity through a TCP socket on a secure
port. Data passed over a secure connection is encrypted to avoid eavesdropping by
unauthorized third parties. Because secure connections require extra processing power and
might affect the server's performance, use RTMPS only for applications that require a higher
level of security or that handle sensitive or critical data.
Developing secure applications
95
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-DEVELOPING MEDIA and is the answer not in the manual?