| View previous topic :: View next topic |
| Author |
Message |
krazybob
Joined: 06 Oct 2008 Posts: 18
|
Posted: Tue Oct 14, 2008 6:58 am Post subject: Hiding Feed Address |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 14, 2008 3:37 pm Post subject: |
|
|
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 |
|
 |
krazybob
Joined: 06 Oct 2008 Posts: 18
|
Posted: Tue Oct 14, 2008 4:31 pm Post subject: |
|
|
I understand the concept but need more details. Is there a link to this?
Thanks for the input! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 14, 2008 4:49 pm Post subject: |
|
|
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 |
|
 |
krazybob
Joined: 06 Oct 2008 Posts: 18
|
Posted: Sat Sep 19, 2009 9:35 am Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Sep 19, 2009 1:04 pm Post subject: |
|
|
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 |
|
 |
|