Google Answers Logo
View Question
 
Q: Password-protecting a MMS media stream using Apache? ( No Answer,   1 Comment )
Question  
Subject: Password-protecting a MMS media stream using Apache?
Category: Computers > Security
Asked by: ianc-ga
List Price: $5.00
Posted: 12 Apr 2005 08:34 PDT
Expires: 12 May 2005 08:34 PDT
Question ID: 508338
I'm running a web server using Apache on my home LAN, and recently
obtained some webcam software to stream one of several webcams.  The
software outputs a standard microsoft stream using MMS as the
protocol, on port 8888.

Elsewhere on my LAN, I use Apache's ProxyPass directive in order to
hide other servers, running on different ports, from the outside
world.  My general policy is to close off the port from the Internet
using my firewall, and effectively use ProxyPass and VirtualHost as a
way to obtain restricted access.

However, probably because this time I'm using MMS, I don't seem to be
able do do my usual thing.  Here's my "attempt" in the Apache config
file:

# Secure the web camera 
<VirtualHost *> 
ServerName webcam.mydomain.co.uk 
ProxyPass / http://192.168.0.2:8888/ 
<Location /> 
AllowOverride None 
AuthType Basic 
AuthName "Secured for privacy. Authentication required for access." 
AuthUserFile "c:\directory_to_password_file\.htpasswd" 
Require user myuseraccount 
</Location> 
</VirtualHost> 

I've setup the subdomain "webcam" so all should be working well.  But it isn't.

So, the question is how do I protect an MMS stream with a password? 
Ideally I want to use Apache as the mechanism to throw up a password
request, but am I hoping for the impossible?
Answer  
There is no answer at this time.

Comments  
Subject: Re: Password-protecting a MMS media stream using Apache?
From: mark_bett-ga on 14 Apr 2005 22:18 PDT
 
you can create a new domain within the webserver and have the stream
exist within that domain.  thus when trying to access the stream you
will be requred to authenticate, just as f it were a folder that
existed within a restricted domain.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy