How to query security info for a FO in a minifilter?

hi…
i am implementing a minifilter. In this, i want to query the security information related to a file object by issuing a query security request in the pre callback routine of IRP_MJ_SET_SECURITY. The aim is to query the security info just before new security attributes are set on a file object.
following are the steps that i think should be followed:

  1. Create a new callback data using FltAllocateCallbackData(…)
  2. Initialize the Callback data.
  3. Perform a synchronous operation using FltPerformSynchronousIo(…)

I need to know the parameters (members) of the FLT_CALLBACK_DATA that i should initialize after calling FltAllocateCallBackData(…).

Ayush.

Maybe I’m missing your point, but why not just call FltQuerySecurityObject?

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Sunday, October 08, 2006 7:59 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] How to query security info for a FO in a minifilter?

hi…
i am implementing a minifilter. In this, i want to query the security
information related to a file object by issuing a query security request in
the pre callback routine of IRP_MJ_SET_SECURITY. The aim is to query the
security info just before new security attributes are set on a file object.
following are the steps that i think should be followed:

  1. Create a new callback data using FltAllocateCallbackData(…)
  2. Initialize the Callback data.
  3. Perform a synchronous operation using FltPerformSynchronousIo(…)

I need to know the parameters (members) of the FLT_CALLBACK_DATA that i
should initialize after calling FltAllocateCallBackData(…).

Ayush.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com