PDA

View Full Version : membership and protecting stream access


akrall
11th January 2004, 05:35
Guys.. how do membership sites rpotect access to their streams?

I was thinking about using the activex controls so people would be able to see the stream via a web page thats protected using php and some other soft.

Problem is that the page has on its source, the stream info so basically people can just open winamp, enter the info and watch the stream without ever going into the webpage and auth.

Any ideas how to do this?

djmastermind
11th January 2004, 05:39
I'm sure that you can write a PHP that will add any given IP to the DNAS's RIP file. I wouldn't know how this would work for people on dynamic IPs, unfortunately... Or when someone logs in from another computer.

View this thread (http://forums.winamp.com/showthread.php?s=&threadid=162769&highlight=login).

Jay
11th January 2004, 05:39
beyond that a simple netstat while connected will expose where the stream is originating, do a search for auth + proxy in the forums, there is a php script out which will handle this although all traffic load is distribated to your php webserver when you use it. Basic authorization is implemented in SHOUTcast but I do not believe you can use it with a live stream just yet.

akrall
11th January 2004, 16:27
Originally posted by KXRM
beyond that a simple netstat while connected will expose where the stream is originating, do a search for auth + proxy in the forums, there is a php script out which will handle this although all traffic load is distribated to your php webserver when you use it. Basic authorization is implemented in SHOUTcast but I do not believe you can use it with a live stream just yet.

Remember that the setup will be this:

The stream will be distributed thru mediacast1 or any other stream hosting provider.

The stream is not live but been sent to the provider thru another linux system using sc_nsv :)

So the rip files live on the provider and I dont think we can run php scripts there :)

Jay
11th January 2004, 16:35
yea personally I would not rely on a script either, some broadcasters are taking advantage of the RIP feature to allow people to login at a webpage and specify the IP they want to view from. However that could open up an entire college campus or corporation to your stream.

akrall
11th January 2004, 21:09
Originally posted by KXRM
yea personally I would not rely on a script either, some broadcasters are taking advantage of the RIP feature to allow people to login at a webpage and specify the IP they want to view from. However that could open up an entire college campus or corporation to your stream.

exactly, so it has to be a user/password base auth system.

akrall
12th January 2004, 04:16
Originally posted by KXRM
yea personally I would not rely on a script either, some broadcasters are taking advantage of the RIP feature to allow people to login at a webpage and specify the IP they want to view from. However that could open up an entire college campus or corporation to your stream.

I tried using the authfile resource on the ini file.. but if the password is not plain text or its a bad password.. it segfaults..

So.. how are ppl doing it to protect their membership streams?

Jay
12th January 2004, 09:36
yea that's why I said it wasn't implemented for live streams.

akrall
12th January 2004, 09:47
Originally posted by KXRM
yea that's why I said it wasn't implemented for live streams.

Well, then, how do ppl implement their membership sites?

Blueransom
17th January 2004, 16:38
Sites like proncast.com and thesexclub.tv there protecting there stream by username and password and sending this command to the server http://adress.com:8000/&user=USERNAME&pass=PASSWORD&/;stream.nsv

How are they doing this surley this is a feature built into DNAS ?