IrpSp->MajorFunction設定為 IRP_MJ_SET_SECURITY。 IrpSp->Parameters.SetSecurity.SecurityDescriptor指向SECURITY_DESCRIPTOR結構,其中包含要指派給 對象的安全性資訊值。 IrpSp->Parameters.SetSecurity.SecurityInformation是類型的值,SECURITY_INFORMATION指定要在安全性描述元中設定的安全性資訊,而且可以是下列其中一個值...
IRP_MJ_QUERY_SECURITY 和 IRP_MJ_SET_SECURITY 项目 2023/06/15 3 个参与者 反馈 幸运的是,对于文件系统来说,安全描述符的实际存储和检索相对不透明。 这是因为采用自相对格式的安全描述符的性质,不需要文件系统对描述符有任何了解。 因此,处理查询操作通常是一个非常简单的练习。 下面是文件系统实现的示例:...
IRP_MJ_FLUSH_BUFFERS IRP_MJ_INTERNAL_DEVICE_CONTROL IRP_MJ_LOCK_CONTROL IRP_MJ_PNP IRP_MJ_QUERY_EA IRP_MJ_QUERY_INFORMATION IRP_MJ_QUERY_QUOTA IRP_MJ_QUERY_SECURITY IRP_MJ_QUERY_VOLUME_INFORMATION IRP_MJ_READ IRP_MJ_SET_EA IRP_MJ_SET_INFORMATION IRP_MJ_SET_QUOTA IRP_MJ_SET_SECURITY ...
IRP_MJ_QUERY_SECURITY和IRP_MJ_SET_SECURITY發行項 2023/06/15 3 位參與者 意見反應 幸運的是,檔案系統的實際儲存和擷取安全性描述元相當不透明。 這是因為安全性描述項的本質是自我相對格式,不需要瞭解檔案系統的描述元。 因此,處理查詢作業通常是非常簡單的練習。 以下是檔案系統實作的範例:...
The I/O Manager sends the IRP_MJ_SET_SECURITY request. This request can be sent, for example, when a user-mode application has called a Win32 function such as SetSecurityInfo.Operation: File System DriversThe file system driver should extract and decode the file object to determine whether ...
The I/O Manager sends the IRP_MJ_SET_SECURITY request. This request can be sent, for example, when a user-mode application has called a Win32 function such as SetSecurityInfo.Operation: File System DriversThe file system driver should extract and decode the file object to determine whether ...
Union component used when the MajorFunction field of the FLT_IO_PARAMETER_BLOCK structure for the operation is IRP_MJ_SET_SECURITY.
SecurityDescriptor: Pointer to aSECURITY_DESCRIPTORstructure that contains the values of the security information to be assigned to the object. Remarks TheFLT_PARAMETERSstructure forIRP_MJ_SET_SECURITYoperations contains the parameters for a set-security-information operation represented by a callback data...
SecurityDescriptor: Pointer to aSECURITY_DESCRIPTORstructure that contains the values of the security information to be assigned to the object. Remarks TheFLT_PARAMETERSstructure forIRP_MJ_SET_SECURITYoperations contains the parameters for a set-security-information operation represented by a callback data...
Union component used when the MajorFunction field of the FLT_IO_PARAMETER_BLOCK structure for the operation is IRP_MJ_SET_SECURITY.SyntaxC Kopiëren typedef union _FLT_PARAMETERS { ... ; struct { SECURITY_INFORMATION SecurityInformation; PSECURITY_DESCRIPTOR SecurityDescriptor; } SetSecurity; ....