Partager via


Authorization

Authorization plug-ins control access to content for authenticated users. An authorization plug-in is a specialized type of event notification plug-in that can trap and respond to only authorizable events raised by the server. The following table identifies the complete set of authorizable events.

Event

Description

WMS_EVENT_CONNECT

The server is requesting permission to enable a client connection.

WMS_EVENT_BEGIN_USER_SESSION

The server is requesting permission to start a user session.

WMS_EVENT_LOGICAL_URL_TRANSFORM

The server is requesting permission to map the logical URL requested by the client to a publishing point.

WMS_EVENT_PHYSICAL_URL_TRANSFORM

The server is requesting permission to map a logical URL requested by a client to a physical URL.

WMS_EVENT_DESCRIBE

The server is requesting permission to send the client a description of the requested content.

WMS_EVENT_OPEN

This is the same as the WMS_EVENT_DESCRIBE event except that it is guaranteed to be raised. WMS_EVENT_DESCRIBE is not guaranteed.

WMS_EVENT_SELECT_STREAMS

The client has selected specific streams. The server is requesting permission to allow the client to select the streams.

WMS_EVENT_INITIALIZE_PLAYLIST

The server is requesting permission to create a playlist object.

WMS_EVENT_PLAY

The server is requesting permission to stream content to a client.

WMS_EVENT_VALIDATE_PUSH_DISTRIBUTION

The server is requesting permission to allow an encoder or upstream server to push content to it.

Windows Media Services includes authorization plug-ins, but if these do not meet your requirements, you can create your own. For more information, see Creating Authorization Plug-ins.

See Also

Concepts

Custom Plug-in Categories

Internal Events