If you want to protect the transport of streaming video data from Flash Media Server to Flash Lite player, you can enable encryption. You can encrypt data by using RTMPE.
Flash Media Server encrypts all content at runtime, which means that you do not need to encrypt the source file. RTMPE uses the industry standard cryptographic primitives consisting of the Diffie-Hellman key exchange and HMACSHA256. While data is transported, RTMPE generates a pair of RC4 keys. One key encrypts data sent by the server and the other encrypts data sent to the server.
RTMPE prevents third-party applications from listening to the data transfer between the client and the server. To encrypt a data stream, you use the following syntax:
If you use the source parameter of the FLVPlayback component, the path is:
By adding the letter “e”, you instruct Flash Media Server to add real-time encryption to the data stream. RTMPE encrypts the data while it is transported. You do not require any key to decrypt the data.
Only Flash Lite player can terminate RTMPE. If an application uses RTMPE without specifying a port, Flash Player scans the ports in the following order: 1935 (RTMPE), 443 (RTMPE), and 80 (RTMPE). RTMPE is enabled by default. To disable RTMPE, open the fms.ini file located at C:\Program Files\Adobe\Flash Media Server 3\conf, and set the ADAPTOR.RTMPE_ENABLED parameter to off. Restart the server after the change.