Mountain with antenna

Category — security

Set permissions for folders that contain streams and shared objects

You can use the Server-Side Client object to grant read access to folders on the server that contain streams and shared objects. Because each client that connects to an FMS application has a unique Client object,  you can grant different permissions to each client. Check out the Client.readAccess property and the comment at the bottom of the following page for more information:

Server-Side ActionScript Language Reference — Client class

JOdy

March 5, 2010   No Comments

Configuring FMS with an SSL hardware accelerator

Flash Media Server supports SSL natively. For information see Configure SSL in the Flash Media Server docs. That said, you may choose to use an SSL hardware accelerator instead.

By default, when Flash Player connects to FMS, it scans the following ports in order: 1935, 443, 80, 80 (RTMP tunneling). To configure a secure port for an adaptor, specify a minus sign in front of the port number in the ADAPTOR.HOSTPORT parameter in the RootInstallationFolder/conf/fms.ini file, as follows:

ADAPTOR.HOSTPORT = :1935,-443

With this config, when Flash Player uses an RTMPS string to connect to FMS it uses port 443. FMS also returns data over port 443. To tell a Flash Player client to make an SSL connection to Flash Media Server, use an RTMPS string (”rtmps://domain/applicationname”) in the NetConnection.connect() call.   Any traffic with an RTMP string (”rtmp://domain/applicationname”) uses port 1935.

In other words, to configure SSL, you need to specify that a port is “secure” by specifying a minus sign in front of the port number in the fms.ini file. Then you specify an SSL connection by using the “rtmps” protocol specifier in the connection URI. If no port is specified, the default port for RTMPS is 443. If you configure any port other than 443 as secure, for example, -1935, you need to explicitly specify the port in the URI, for example, “rtmps://domain:1935/applicationname”.

Configure the hardware to listen externally on port 443 and forward unencrypted data to FMS on port 1935.

If you’re using hardware SSL, you don’t need to complete the configuration steps necessary for using native SSL, the hardware does all the hard work and simply forwards unencrypted RTMP to FMS.

May 28, 2009   No Comments


Warning: main(/home/70767/etc/...) [function.main]: failed to open stream: Permission denied in /nfs/c05/h01/mnt/70767/domains/blog.flashvideoexamples.com/html/wp-content/themes/neoclassical/neoclassical/footer.php on line 10

Warning: main(/home/70767/etc/...) [function.main]: failed to open stream: Permission denied in /nfs/c05/h01/mnt/70767/domains/blog.flashvideoexamples.com/html/wp-content/themes/neoclassical/neoclassical/footer.php on line 10

Warning: main() [function.include]: Failed opening '/home/70767/etc/...' for inclusion (include_path='.:/usr/local/php-4.4.8-1/share/pear') in /nfs/c05/h01/mnt/70767/domains/blog.flashvideoexamples.com/html/wp-content/themes/neoclassical/neoclassical/footer.php on line 10