RSM Security
[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
RSM provides security for media pool and library objects. Media pool security controls access to media, including physical media, sides, and logical media. When you use nested media pools, the security of the lowest-level media pool determines the security of the media objects. Library security controls access to physical library units, including drives, changers, slots, and insert or eject ports.
Applications can use the SetNtmsObjectSecurity and GetNtmsObjectSecurity functions to set and check security for an RSM object.
The tables in this topic identify the security requirements for the RSM functions. They use the following key:
- U = NTMS\_USE\_ACCESS
M = NTMS\_MODIFY\_ACCESS
C = NTMS\_CONTROL\_ACCESS
R = READ\_CONTROL
W = WRITE\_DAC
The following table identifies the RSM functions and their security requirements.
Function | Media Pool | Library | Computer |
---|---|---|---|
[AccessNtmsLibraryDoor](/windows/desktop/api/Ntmsapi/nf-ntmsapi-accessntmslibrarydoor) | C | ||
[AddNtmsMediaType](/windows/desktop/api/Ntmsapi/nf-ntmsapi-addntmsmediatype) | M | ||
[AllocateNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-allocatentmsmedia) | C | ||
[CancelNtmsLibraryRequest](/windows/desktop/api/Ntmsapi/nf-ntmsapi-cancelntmslibraryrequest) | C | ||
[CancelNtmsOperatorRequest](/windows/desktop/api/Ntmsapi/nf-ntmsapi-cancelntmsoperatorrequest) | C | ||
[ChangeNtmsMediaType](/windows/desktop/api/Ntmsapi/nf-ntmsapi-changentmsmediatype) | M | M | |
[CleanNtmsDrive](/windows/desktop/api/Ntmsapi/nf-ntmsapi-cleanntmsdrive) | C | ||
[CreateNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-createntmsmediaa) | M | M | |
[CreateNtmsMediaPool](/windows/desktop/api/Ntmsapi/nf-ntmsapi-createntmsmediapool) | C | ||
[DeallocateNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deallocatentmsmedia) | C | ||
[DecommissionNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-decommissionntmsmedia) | C | ||
[DeleteNtmsDrive](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsdrive) | M | ||
[DeleteNtmsLibrary](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmslibrary) | M | ||
[DeleteNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsmedia) | M | M | |
[DeleteNtmsMediaPool](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsmediapool) | M | ||
[DeleteNtmsMediaType](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsmediatype) | M | ||
[DeleteNtmsRequests](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsrequests) | M | ||
[DisableNtmsObject](/windows/desktop/api/Ntmsapi/nf-ntmsapi-disablentmsobject) | M | ||
[DismountNtmsDrive](/windows/desktop/api/Ntmsapi/nf-ntmsapi-dismountntmsdrive) | M | ||
[DismountNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-dismountntmsmedia) | U | U | |
[EjectNtmsCleaner](/windows/desktop/api/Ntmsapi/nf-ntmsapi-ejectntmscleaner) | C | ||
[EjectNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-ejectntmsmedia) | C | ||
[EnableNtmsObject](/windows/desktop/api/Ntmsapi/nf-ntmsapi-enablentmsobject) | M | ||
[ExportNtmsDatabase](/windows/desktop/api/Ntmsapi/nf-ntmsapi-exportntmsdatabase) | C | ||
[GetNtmsObjectAttribute](/windows/desktop/api/Ntmsapi/nf-ntmsapi-getntmsobjectattributea)
NTMS_CHANGER_TYPE NTMS_COMPUTER NTMS_DRIVE NTMS_DRIVE_TYPE NTMS_IEDOOR NTMS_IEPORT NTMS_LIBRARY NTMS_LIBREQUEST NTMS_LOGICAL_MEDIA NTMS_MEDIA_POOL NTMS_MEDIA_TYPE NTMS_OPREQUEST NTMS_PARTITION NTMS_PHYSICAL_MEDIA NTMS_STORAGESLOT |
U U U U |
U U U U U U U |
U U U U U |
[GetNtmsObjectInformation](/windows/desktop/api/Ntmsapi/nf-ntmsapi-getntmsobjectinformation)
NTMS_CHANGER_TYPE NTMS_COMPUTER NTMS_DRIVE NTMS_DRIVE_TYPE NTMS_IEDOOR NTMS_IEPORT NTMS_LIBRARY NTMS_LIBREQUEST NTMS_LOGICAL_MEDIA NTMS_MEDIA_TYPE NTMS_OPREQUEST NTMS_PARTITION NTMS_PHYSICAL_MEDIA NTMS_STORAGESLOT |
U U U |
U U U U U U U |
U U U U U |
[GetNtmsObjectSecurity](/windows/desktop/api/Ntmsapi/nf-ntmsapi-getntmsobjectsecurity)
NTMS_CHANGER_TYPE NTMS_COMPUTER NTMS_DRIVE NTMS_DRIVE_TYPE NTMS_IEDOOR NTMS_IEPORT NTMS_LIBRARY NTMS_LIBREQUEST NTMS_LOGICAL_MEDIA NTMS_MEDIA_POOL NTMS_MEDIA_TYPE NTMS_OPREQUEST NTMS_PARTITION NTMS_PHYSICAL_MEDIA NTMS_STORAGESLOT |
R R R R |
R R R R R R R |
R R R R R |
[GetNtmsRequestOrder](/windows/desktop/api/Ntmsapi/nf-ntmsapi-getntmsrequestorder) | C | ||
[GetNtmsUIOptions](/windows/desktop/api/Ntmsapi/nf-ntmsapi-getntmsuioptionsa)
NTMS_LIBRARY |
U |
U |
|
[IdentifyNtmsSlot](/windows/desktop/api/Ntmsapi/nf-ntmsapi-identifyntmsslot) | C | ||
[ImportNtmsDatabase](/windows/desktop/api/Ntmsapi/nf-ntmsapi-importntmsdatabase) | C | ||
[InjectNtmsCleaner](/windows/desktop/api/Ntmsapi/nf-ntmsapi-injectntmscleaner) | C | ||
[InjectNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-injectntmsmedia) | C | ||
[InventoryNtmsLibrary](/windows/desktop/api/Ntmsapi/nf-ntmsapi-inventoryntmslibrary) | C | ||
[MountNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-mountntmsmedia) | U | U | |
[MoveToNtmsMediaPool](/windows/desktop/api/Ntmsapi/nf-ntmsapi-movetontmsmediapool) | C | ||
[OpenNtmsNotification](/windows/desktop/api/Ntmsapi/nf-ntmsapi-openntmsnotification) | U | ||
[OpenNtmsSession](/windows/desktop/api/Ntmsapi/nf-ntmsapi-openntmssessiona) | U | ||
[ReleaseNtmsCleanerSlot](/windows/desktop/api/Ntmsapi/nf-ntmsapi-releasentmscleanerslot) | C | ||
[ReserveNtmsCleanerSlot](/windows/desktop/api/Ntmsapi/nf-ntmsapi-reserventmscleanerslot) | C | ||
[SatisfyNtmsOperatorRequest](/windows/desktop/api/Ntmsapi/nf-ntmsapi-satisfyntmsoperatorrequest) | C | ||
[SetNtmsMediaComplete](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsmediacomplete) | C | ||
[SetNtmsObjectAttribute](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsobjectattributea)
NTMS_CHANGER_TYPE NTMS_COMPUTER NTMS_DRIVE NTMS_DRIVE_TYPE NTMS_IEDOOR NTMS_IEPORT NTMS_LIBRARY NTMS_LIBREQUEST NTMS_LOGICAL_MEDIA NTMS_MEDIA_POOL NTMS_MEDIA_TYPE NTMS_OPREQUEST NTMS_PARTITION NTMS_PHYSICAL_MEDIA NTMS_STORAGESLOT |
M M M M |
M M M M M M M |
M M M M M |
[SetNtmsObjectInformation](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsobjectinformation)
NTMS_CHANGER_TYPE NTMS_COMPUTER NTMS_DRIVE NTMS_DRIVE_TYPE NTMS_IEDOOR NTMS_IEPORT NTMS_LIBRARY NTMS_LIBREQUEST NTMS_LOGICAL_MEDIA NTMS_MEDIA_POOL NTMS_MEDIA_TYPE NTMS_OPREQUEST NTMS_PARTITION NTMS_PHYSICAL_MEDIA NTMS_STORAGESLOT |
M M M M |
M M M M C M M |
M M M M M |
[SetNtmsObjectSecurity](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsobjectsecurity)
NTMS_CHANGER_TYPE NTMS_COMPUTER NTMS_DRIVE NTMS_DRIVE_TYPE NTMS_IEDOOR NTMS_IEPORT NTMS_LIBRARY NTMS_LIBREQUEST NTMS_LOGICAL_MEDIA NTMS_MEDIA_POOL NTMS_MEDIA_TYPE NTMS_OPREQUEST NTMS_PARTITION NTMS_PHYSICAL_MEDIA NTMS_STORAGESLOT |
W W W W |
W W W W W W W |
W W W W W |
[SetNtmsRequestOrder](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsrequestorder) | C | ||
[SetNtmsUIOptions](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsuioptionsa)
NTMS_LIBRARY |
U&M |
U&M |
|
[SubmitNtmsOperatorRequest](/windows/desktop/api/Ntmsapi/nf-ntmsapi-submitntmsoperatorrequesta)
NTMS_OPREQ_DEVICESERVICE NTMS_OPREQ_MESSAGE NTMS_OPREQ_MOVEMEDIA NTMS_OPREQ_NEWMEDIA |
C C |
C C |
U |
[SwapNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-swapntmsmedia) | M | ||
[UpdateNtmsOmidInfo](/windows/desktop/api/Ntmsapi/nf-ntmsapi-updatentmsomidinfo) | C |
Windows XP: The following table identifies the RSM functions and their security requirements.
Function | Media Pool | Library | Computer |
---|---|---|---|
[AccessNtmsLibraryDoor](/windows/desktop/api/Ntmsapi/nf-ntmsapi-accessntmslibrarydoor) | C | ||
[AddNtmsMediaType](/windows/desktop/api/Ntmsapi/nf-ntmsapi-addntmsmediatype) | C | ||
[AllocateNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-allocatentmsmedia) | M | ||
[CancelNtmsLibraryRequest](/windows/desktop/api/Ntmsapi/nf-ntmsapi-cancelntmslibraryrequest) | C | ||
[CancelNtmsOperatorRequest](/windows/desktop/api/Ntmsapi/nf-ntmsapi-cancelntmsoperatorrequest) | C | ||
[ChangeNtmsMediaType](/windows/desktop/api/Ntmsapi/nf-ntmsapi-changentmsmediatype) | M | ||
[CleanNtmsDrive](/windows/desktop/api/Ntmsapi/nf-ntmsapi-cleanntmsdrive) | C | ||
[CreateNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-createntmsmediaa) | C | M | |
[CreateNtmsMediaPool](/windows/desktop/api/Ntmsapi/nf-ntmsapi-createntmsmediapool) | M | ||
[DeallocateNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deallocatentmsmedia) | M | ||
[DecommissionNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-decommissionntmsmedia) | M | ||
[DeleteNtmsDrive](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsdrive) | M | ||
[DeleteNtmsLibrary](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmslibrary) | M | ||
[DeleteNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsmedia) | M | ||
[DeleteNtmsMediaPool](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsmediapool) | C | ||
[DeleteNtmsMediaType](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsmediatype) | C | ||
[DeleteNtmsRequests](/windows/desktop/api/Ntmsapi/nf-ntmsapi-deletentmsrequests) | C | ||
[DisableNtmsObject](/windows/desktop/api/Ntmsapi/nf-ntmsapi-disablentmsobject) | C | ||
[DismountNtmsDrive](/windows/desktop/api/Ntmsapi/nf-ntmsapi-dismountntmsdrive) | C | ||
[DismountNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-dismountntmsmedia) | U | U | |
[EjectNtmsCleaner](/windows/desktop/api/Ntmsapi/nf-ntmsapi-ejectntmscleaner) | C | ||
[EjectNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-ejectntmsmedia) | C | ||
[EnableNtmsObject](/windows/desktop/api/Ntmsapi/nf-ntmsapi-enablentmsobject) | C | ||
[ExportNtmsDatabase](/windows/desktop/api/Ntmsapi/nf-ntmsapi-exportntmsdatabase) | C | ||
[GetNtmsObjectInformation](/windows/desktop/api/Ntmsapi/nf-ntmsapi-getntmsobjectinformation)
NTMS_CHANGER_TYPE NTMS_COMPUTER NTMS_DRIVE NTMS_DRIVE_TYPE NTMS_IEDOOR NTMS_IEPORT NTMS_LIBRARY NTMS_LIBREQUEST NTMS_LOGICAL_MEDIA NTMS_MEDIA_TYPE NTMS_OPREQUEST NTMS_PARTITION NTMS_PHYSICAL_MEDIA NTMS_STORAGESLOT |
C C C |
C C C C C M C |
M M M M M |
[GetNtmsUIOptions](/windows/desktop/api/Ntmsapi/nf-ntmsapi-getntmsuioptionsa)
NTMS_LIBRARY |
U |
U |
|
[IdentifyNtmsSlot](/windows/desktop/api/Ntmsapi/nf-ntmsapi-identifyntmsslot) | C | ||
[ImportNtmsDatabase](/windows/desktop/api/Ntmsapi/nf-ntmsapi-importntmsdatabase) | C | ||
[InjectNtmsCleaner](/windows/desktop/api/Ntmsapi/nf-ntmsapi-injectntmscleaner) | C | ||
[InjectNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-injectntmsmedia) | C | ||
[InventoryNtmsLibrary](/windows/desktop/api/Ntmsapi/nf-ntmsapi-inventoryntmslibrary) | C | ||
[MountNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-mountntmsmedia) | U | U | |
[MoveToNtmsMediaPool](/windows/desktop/api/Ntmsapi/nf-ntmsapi-movetontmsmediapool) | M | ||
[OpenNtmsSession](/windows/desktop/api/Ntmsapi/nf-ntmsapi-openntmssessiona) | U | ||
[ReleaseNtmsCleanerSlot](/windows/desktop/api/Ntmsapi/nf-ntmsapi-releasentmscleanerslot) | C | ||
[ReserveNtmsCleanerSlot](/windows/desktop/api/Ntmsapi/nf-ntmsapi-reserventmscleanerslot) | C | ||
[SatisfyNtmsOperatorRequest](/windows/desktop/api/Ntmsapi/nf-ntmsapi-satisfyntmsoperatorrequest) | C | ||
[SetNtmsMediaComplete](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsmediacomplete) | M | ||
[SetNtmsObjectInformation](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsobjectinformation)
NTMS_MEDIA_POOL NTMS_PARTITION NTMS_STORAGESLOT |
C C C |
C |
|
[SetNtmsObjectSecurity](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsobjectsecurity)
NTMS_CHANGER_TYPE NTMS_COMPUTER NTMS_DRIVE NTMS_DRIVE_TYPE NTMS_IEDOOR NTMS_IEPORT NTMS_LIBRARY NTMS_LIBREQUEST NTMS_LOGICAL_MEDIA NTMS_MEDIA_POOL NTMS_MEDIA_TYPE NTMS_OPREQUEST NTMS_PARTITION NTMS_PHYSICAL_MEDIA NTMS_STORAGESLOT |
W W W W |
W W W W W W W |
W W W W W |
[SetNtmsUIOptions](/windows/desktop/api/Ntmsapi/nf-ntmsapi-setntmsuioptionsa)
NTMS_LIBRARY |
U&M |
U&M |
|
[SwapNtmsMedia](/windows/desktop/api/Ntmsapi/nf-ntmsapi-swapntmsmedia) | M | ||
[UpdateNtmsOmidInfo](/windows/desktop/api/Ntmsapi/nf-ntmsapi-updatentmsomidinfo) | C |