Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hiding Feed Address

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
krazybob



Joined: 06 Oct 2008
Posts: 18

PostPosted: Tue Oct 14, 2008 6:58 am    Post subject: Hiding Feed Address Reply with quote

I am wondering if there is a way to hide the feed address when it is called from a web page. We have advertising and don't want our listeners going directly to the feed address. We could use passwords, but that creates a logistics issue that I'd like to avoid. I had thought of an encrypted string, like tinyurl.com, that changes daily. But a savvy listener will just get to the feed and click on the player or traceroute the address.

Maybe I am asking the wrong question. Is it possible to otherwise restrict direct access?

Suggestions?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Oct 14, 2008 3:37 pm    Post subject: Reply with quote

use url auth, you can pass a random tag/value pair as part of the mountpoint eg

http://host:8000/mountpoint?session=12345678

generate that url on your own site, then validate the details when listeners are to be authenticated with listener_add. The mount POST details contains the mountpoint including the query args.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
krazybob



Joined: 06 Oct 2008
Posts: 18

PostPosted: Tue Oct 14, 2008 4:31 pm    Post subject: Reply with quote

I understand the concept but need more details. Is there a link to this?

Thanks for the input!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Oct 14, 2008 4:49 pm    Post subject: Reply with quote

The icecast docs provided cover the url auth parts, you'll want the POST value of mount= unescaped. when listener_add is called There is a simple db lookup given.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
krazybob



Joined: 06 Oct 2008
Posts: 18

PostPosted: Sat Sep 19, 2009 9:35 am    Post subject: Reply with quote

I don't see listener_add described. I have also learned that I can pass the username and password through PHP's PHPSESSION but see not examples. WinAmp shows the username and password when you click on Properties.
_________________
Bob Ricci
Christian Hosting Solutions
http://christian-hosting-solutions.com
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Sep 19, 2009 1:04 pm    Post subject: Reply with quote

and yet I quite clearly see listener_add described in icecast2_listenerauth.html. Maybe you have an old install of icecast that didn't support url auth?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber