Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: User Name and Password Validation ?

HTVi
TV Discussion Newsgroups

User Name and Password Validation ?
"Aruna Tennakoon" <aruna.tennakon[ at ]gmail.com> 6/6/2007 4:08:07 AM
Hi guys,

I am new to windows media development. I am looking for a sample code to do
some thing like this.

When clients hit my URL (eg mms://xxx.xxx.xxx.xxx/radio.wmv) I want to pop
up a user name and password dialog and that dialog will validate client's
user name and password from an access databases resides in the server. How
can I do this.? any sample codes in C# or VB.NET ?

Thanks,
-Aruna


Re: User Name and Password Validation ?
"Chris P." <msdn[ at ]chrisnet.net> 6/6/2007 1:08:50 PM
On Wed, 6 Jun 2007 10:08:07 +0600, Aruna Tennakoon wrote:

[Quoted Text]
> I am new to windows media development. I am looking for a sample code to do
> some thing like this.
>
> When clients hit my URL (eg mms://xxx.xxx.xxx.xxx/radio.wmv) I want to pop
> up a user name and password dialog and that dialog will validate client's
> user name and password from an access databases resides in the server. How
> can I do this.? any sample codes in C# or VB.NET ?

You can't do that. Either you use a DRM solution which is complicated and
costly or you authenticate the clients through a web page before giving
them the streaming URL. You would then have to write some kind of plug-in
for the Windows Media Server they registers the IP address of the client.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
Re: User Name and Password Validation ?
"Mike Lowery" <selfspam[ at ]mouse-potato.com> 6/6/2007 8:27:04 PM

"Chris P." <msdn[ at ]chrisnet.net> wrote in message
news:1pujshghvh43g$.dy3nwbx5r3zr.dlg[ at ]40tude.net...
[Quoted Text]
> On Wed, 6 Jun 2007 10:08:07 +0600, Aruna Tennakoon wrote:
>
>> I am new to windows media development. I am looking for a sample code to do
>> some thing like this.
>>
>> When clients hit my URL (eg mms://xxx.xxx.xxx.xxx/radio.wmv) I want to pop
>> up a user name and password dialog and that dialog will validate client's
>> user name and password from an access databases resides in the server. How
>> can I do this.? any sample codes in C# or VB.NET ?
>
> You can't do that. Either you use a DRM solution which is complicated and
> costly or you authenticate the clients through a web page before giving
> them the streaming URL. You would then have to write some kind of plug-in
> for the Windows Media Server they registers the IP address of the client.

Or start/stop the publishing point via the web interface, assuming one user per
stream.


RE: User Name and Password Validation ?
w2ks 6/12/2007 12:26:01 PM
actually u can. i was working on something like that months ago and it's
working now. basically it's just basic authentication using access as the
backend instead of active directory.


"Aruna Tennakoon" wrote:

[Quoted Text]
> Hi guys,
>
> I am new to windows media development. I am looking for a sample code to do
> some thing like this.
>
> When clients hit my URL (eg mms://xxx.xxx.xxx.xxx/radio.wmv) I want to pop
> up a user name and password dialog and that dialog will validate client's
> user name and password from an access databases resides in the server. How
> can I do this.? any sample codes in C# or VB.NET ?
>
> Thanks,
> -Aruna
>
>
>
Re: User Name and Password Validation ?
"Chris P." <msdn[ at ]chrisnet.net> 6/12/2007 12:36:31 PM
On Tue, 12 Jun 2007 05:26:01 -0700, w2ks wrote:

[Quoted Text]
> actually u can. i was working on something like that months ago and it's
> working now. basically it's just basic authentication using access as the
> backend instead of active directory.

Yes, but the authentication is in your web layer not something embedded
inside the wmv itself.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
Re: User Name and Password Validation ?
w2ks 6/12/2007 12:43:36 PM
that is true.


"Chris P." wrote:

[Quoted Text]
> On Tue, 12 Jun 2007 05:26:01 -0700, w2ks wrote:
>
> > actually u can. i was working on something like that months ago and it's
> > working now. basically it's just basic authentication using access as the
> > backend instead of active directory.
>
> Yes, but the authentication is in your web layer not something embedded
> inside the wmv itself.
>
> --
> http://www.chrisnet.net/code.htm
> [MS MVP for DirectShow / MediaFoundation]
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen