Developing secure applications
229
}
default:
// We really shouldn't get here!
fprintf( stderr, "SampleAdaptor: Unknown access
event!\n" );
}
//pAccess->reject("why not");
pAccess->accept();
}
Developing secure applications
If you develop Flash Media Server applications, you can use SSL (Secure Sockets Layer) and
other secure development practices to ensure the security of your applications and the data
they use.
Using SSL
To use SSL in your applications, you need to configure both your applications and Flash
Media Server settings. The following list is a checklist of the steps you need to take to use SSL.
Use RTMPS to connect to the server.
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.
To use RTMPS, see the NetConnection.connect entries in the
Client-Side ActionScript
Language Reference for Flash Media Server 2
and
Server-Side ActionScript Language Reference
. If,
in your NetConnection.connect call, you don’t specify a port number, Flash Player connects
on the default secure port, port 443. Be sure that either port 443 or another designated port
number is specified as secure using the
secure
attribute in the
<HostPort>
tag of the
Adaptor.xml file.
TIP
You cannot use RTMPS to establish a connection from one server running Flash Media
Server to another if the server being connected to is behind a firewall that is rejecting
RTMP data. A workaround is to cluster all servers running Flash Media Server behind
the same firewall.
Содержание FLASH MEDIA SERVER 2-MANAGING FLASH MEDIA...
Страница 1: ...Managing Flash Media Server...
Страница 6: ...6 Contents...
Страница 10: ...10 About This Manual...
Страница 84: ...84 Deploying Flash Media Server...