Forum Moderators: phranque

Message Too Old, No Replies

Security on a Simple Video Stream

         

mache

5:18 pm on Mar 5, 2005 (gmt 0)

10+ Year Member



I am having a problem placing some minimal security on a Internet accessible video stream.

I am doing volunteer work for a local community recreation center. They have a Linksys WIFI router (WRT54G) and a single WinXP Pro PC. I plan to run both Windows Media Encoder (WME) and Apache on that single machine.

So far I have a web page designed that can embed Windows Media Player 10 but I want to place a .htaccess security dialogue in front of it to protect against unauthorized access to the video stream from the Internet.

The port for the WME is 1812 and I do not want to open up that port on the router for unsecured access from the open Internet.

Here is what I would like to do:

- The end user will hit the router on port 80 and be port forwarded to port 80 on the WinXP PC.

- On the PC the end user would hit the Apache web server on port 80 and have to pass a .htaccess security dialogue

- Once through the security dialogue Apache would perform a dynamic redirect of the incoming port 80 traffic back to the same PC but on port 1812.

- When the PC sees new traffic for port 1812 that traffic would be addressed by WME .

- WME will serve a video stream back on port 1812 to Apache

- Apache will then redirect the traffic to port 80 back through the router and to the end user of the stream.

I have been looking at the Apache ProxyPass directive to redirect the initial web traffic to non-internet visible LAN servers and .htaccess for the security dialogue. So far I only have a web page that embeds Windows Media Player and it functions solely on my internal LAN. The routing, redirection, and .htaccess security are still a problem.

Here is the what I have so far.

<!--- BEGIN PLAYER --->
<!-- webbot bot="HTMLMarkup" startspan ---->
<object ID="MediaPlayer" WIDTH="320" HEIGHT="270" CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="autoStart" value="True">
<param name="filename" value="http://x.y.com:1812">
<param NAME="ShowControls" VALUE="True">
<param NAME="ShowStatusBar" VALUE="True">
<embed TYPE="application/x-mplayer2" SRC="http://x.y.com:1812" NAME="MediaPlayer" WIDTH="320" HEIGHT="270" autostart="1" showcontrols="1"></embed></object>
<!-- webbot bot="HTMLMarkup" endspan ---->
<!--- end PLAYER --->

I do not know how to configure Apache so that ProxyPass and .htaccess to work correctly in this case.

Any suggestions would be much appreciated.

Best regards and thank you for any help,

-- Mache Creeger