Should I hide the rtmp path?

Discussion in 'Programming' started by chrisj, Jul 24, 2011.

  1. #1
    This script that I'm using, on a web page, allows a web page visitor to record a video, via his webcam. However, the script shows the rtmp path.

    I was told that "rtmp must be kept secure at all times or anyone can use it"
    but I'm not clear on how someone can use it and why it must be secure.

    Can you help clarify why this is a risk?

    Here is the code showing the rtmp path (example):

    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>recorder</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="js/swfobject.js"></script>
    </head>
    
    <body bgcolor="#ffffff">
    <div id="recorder"></div>
    
    
    <script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("recorder.swf", "recorder", "620", "470", "9", "#000000");
    so.addParam('flashvars','filename=Video&rtmpPath=rtmp://67.xxx.xxx.xxx/vid/&finishURL=player.html')
    so.write("recorder");
    // ]]>
    </script>
    </body>
    </html>
    Code (markup):
    If it should be kept secure, is there a solution to keeping it hidden or secure?

    Thanks
     
    chrisj, Jul 24, 2011 IP