Getting security object for alternate data streams on W2K

Hi,

On Windows 2000 I am trying to create a stream on an already existing file.

In my mini-filter PostCreate routine for the creation of stream operation, I am querying the security info using FltQuerySecurityObject(). This calls fails with Invalid Parameter error. However, a FltQueryInformationFile() call using the same file object succeeds. And, FltQuerySecurityObject() works on W2K3.

Has anyone experienced this? Any thoughts on this are appreciated.

Thanks,
-lax.

FWIW, I have had to use ZwSetSecurityObject since FltSetSecurityObject
was/is broken. I haven’t had problems with FltQuerySecurityObject, though.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Friday, January 05, 2007 7:38 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Getting security object for alternate data streams on W2K

Hi,

On Windows 2000 I am trying to create a stream on an already existing file.

In my mini-filter PostCreate routine for the creation of stream operation, I
am querying the security info using FltQuerySecurityObject(). This calls
fails with Invalid Parameter error. However, a FltQueryInformationFile()
call using the same file object succeeds. And, FltQuerySecurityObject()
works on W2K3.

Has anyone experienced this? Any thoughts on this are appreciated.

Thanks,
-lax.


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

How broken? I’m using FltSetSecurityObject (if sth is wrong I’m calling
ZwSetSecurityObject) but I develop on Win XP and never test this function so
far. Are there any other function which were/are broken?

“Ken Cross” wrote in message news:xxxxx@ntfsd…
> FWIW, I have had to use ZwSetSecurityObject since FltSetSecurityObject
> was/is broken. I haven’t had problems with FltQuerySecurityObject,
though.
>
> Ken
>

Check the archives – it’s been discussed several times.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jan Milan
Sent: Friday, January 05, 2007 9:32 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] Getting security object for alternate data streams on
W2K

How broken? I’m using FltSetSecurityObject (if sth is wrong I’m calling
ZwSetSecurityObject) but I develop on Win XP and never test this function so
far. Are there any other function which were/are broken?

“Ken Cross” wrote in message news:xxxxx@ntfsd…
> FWIW, I have had to use ZwSetSecurityObject since FltSetSecurityObject
> was/is broken. I haven’t had problems with FltQuerySecurityObject,
though.
>
> Ken
>


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