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: publishing point security (and access)... cookies?

HTVi
TV Discussion Newsgroups

publishing point security (and access)... cookies?
"James" <j DOT w AT zoom DOT co DOT uk> 5/8/2007 5:20:45 PM
Hi,

I have an asp.net website which requires a username and password to access.
I also have a WMS server which is bare to the world. Both servers are on the
same domain. I would like to restrict access to the WMS server based on
username and password on the website.

It is my understanding that I can accomplish the task by building a custom
authentication plugin on the WMS server and then setting a flag in a DB from
the website that the custom plugin can read to give access to the WM client.
I understand the principal, but I still need to identify the client on the
WMS server (so I know which record to pull for a permissions check from the
DB).

The two ways I have heard of doing this is 1. IP address, that is, the
webserver adds a DB record giving access to a certain IP address which the
WMS plugin can lookup when the client connects, 2. a cookie is passed which
the plugin can use to lookup in the DB. I prefer option two so far.

Has anyone got other ideas along these lines, and... could someone show a
very simple sample... or just explain how I pass the cookie from the asp.net
app, and read it from the authentication cookie.

Thanks!!
James


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