Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Media Service - password protecting and limiting streams?

Status
Not open for further replies.

EvanK

Technical User
Nov 18, 2003
21
I'm having some trouble setting up an appropriate media streaming solution using Win2003 and the Windows Media Service. If someone here can offer any advice, I would be VERY grateful.

I have a drive containing an indeterminate number of mp3s, organized into directories by an album ID:

[tt]x:\album1\1.mp3
x:\album1\2.mp3
x:\album1\3.mp3
x:\album1\4.mp3

x:\album2\1.mp3
x:\album2\2.mp3
x:\album2\3.mp3

x:\album3\1.mp3
x:\album3\2.mp3[/tt]

You can see where that's going. Right now, we're talking around 700 albums, but that number could vary exponentially.

Basically, I need two (2) seperate ways to stream the same files via the web, using the mms: protocol and an on-demand publishing mechanism, where they specify in the url what file they want streamed. For example:
mms://music.mycompany.com/album1/4.mp3
mms://music.mycompany.com/album2/1.mp3
mms://music.mycompany.com/album3/2.mp3


The exact ways I need to stream are as follows:

1) I need password-protected access (for use within the company), allowing the user to listen to and skip around in the mp3s in their entirety. Now, I already have all this with an on-demand publishing point, except I cannot seem to password-protect it.

2) I need anonymous access (for use by our customers, visitors, etc), allowing the user to only listen to the first 30 or so seconds of the mp3s. The problem is, I don't know how to limit all the media to a time length while still keeping the on-demand functionality. Given the massive amount of music, its not feasible to make a second copy of all the files and physically truncate them.

Can anyone help me, or at least point me in the right direction?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top