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 

Listener Authentication
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
ChildOTK



Joined: 02 Sep 2009
Posts: 30

PostPosted: Fri Sep 04, 2009 8:01 pm    Post subject: Reply with quote

Karl,

I am sorry. I am just trying to understand how things work here.

I didn't mean that I was specifically looking for "user" or "pass" but stating that in all the variables my script returned to me, "user" and "pass" were blank.

All the posted variables were:

action
server
port
client
mount
user
pass
ip and
agent

There were no variables as far as GET was concerned.

So, in my URL for the stream, I added ?user=&pass= but these were not found in the variables sent to the script.

I do however notice in the mount var, that the first variable I passed through, being "user", was included with the value. With this said, I am understanding now what you were talking about and how I could use it.

I will do some tests.

Thank you for taking the time to help me, I really do appreciate it.
Back to top
View user's profile Send private message
ChildOTK



Joined: 02 Sep 2009
Posts: 30

PostPosted: Fri Sep 04, 2009 8:16 pm    Post subject: Reply with quote

Karl,

After understanding what you said, I have now been able to make work what I wanted to do, and it works from the browser.

Trying to directly open the stream through a player needs authentication. This is exactly what I wanted.

Thank you so much for your assistance.
Back to top
View user's profile Send private message
krazybob



Joined: 06 Oct 2008
Posts: 18

PostPosted: Sun Sep 06, 2009 1:10 am    Post subject: Reply with quote

http://xxx.xxx.xxx.xxx:8010/admin/buildm3u?username=someone&password=secret&Submit=Login&mount=/mount

But if you are passing these parameters to conceal them know that WinAmp will show them when a user clicks on Properties.
_________________
Bob Ricci
Christian Hosting Solutions
http://christian-hosting-solutions.com
Back to top
View user's profile Send private message
ChildOTK



Joined: 02 Sep 2009
Posts: 30

PostPosted: Sun Sep 06, 2009 1:15 am    Post subject: Reply with quote

Yeah, that is okay.

I will use what Karl suggested with the session= variable, and have the session randomly generated in the portal, updating the database. So when the URL auth kicks in, it has to have this updated session= else it wont work.

My users will be using the embeded flash player in the portal though, and not an m3u or anything of the sort. So the portal will automatically auth the user to listen to the stream.

So I should be good to go. Unless there is something I am missing.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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