Sun Microsystems 2.1 manual Player ACL

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 135
Image 135
TABLE 9-2
TABLE 9-2

...with the result that all users have read permission. For example, with only read permission for a Sun MediaCenter server, a user can look up titles on the server, but cannot play a stream.

Each instance of the ServerAcl file must contain a line that indicates the version number of the file; this line must be the first uncommented line in the file. The format of the version line is:

Version <number>

If the version line is missing or incorrectly formatted, or has an unsupported version number, the MSM produces warning messages but continues to parse ServerAcl.

9.4Player ACL

There is no file for player ACLs. When you create a player (using msmPlayerLookup()), you, the creator, have full permissions—read, control, and admin—for that player. You change permissions by assigning one of a set of access levels to the MsmAccessList structure. Permissions are assigned to a specific user.

shows the permissions that you can specify:

Player ACL Permissions

Permission

Access Level

Program can call...

r

read

msmPlayerGetAccess()

 

 

msmPlayerGetPersistence()

 

 

msmPlayerGetPlaylist()

 

 

msmPlayerGetPlayStatus()

c

control

msmPlayerPlay()

 

 

msmPlayerPause()

 

 

msmPlayerResume()

a

admin

msmPlayerDelete()

 

 

msmPlayerSetAccess()

 

 

msmPlayerSetPersistence()

 

 

msmPlayerSetPlaylist()

 

 

msmPlayerSetConnect()

 

 

 

Following creation of a player, the MSM consults the player's ACL before checking ServerAcl.

Chapter 9 Access Control Lists 9-3

Page 135
Image 135
Sun Microsystems 2.1 manual Player ACL