shared-folder

Which kind of kernel function is called, When i open a file or directory
of shared-folder.
Just only zwopenfile/zwcreatefile or others?
I wanna control access to a file of directory of my shared-folder.
Which function should i hook?

Any answer’ll be great appreciated!

Best regards.
csjung.

You want to control access to a file/directory from whom? Users on other
machines? In that case, why isn’t the standard ACL mechanism sufficient?
If you’re sure it isn’t, then you’re going to need to write a filesystem
filter driver, which is a complex task.

  • Nick Ryan (MVP for DDK)

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Chang
Sung. Jung
Sent: Thursday, July 03, 2003 12:05 AM
To: NT Developers Interest List
Subject: [ntdev] shared-folder

Which kind of kernel function is called, When i open a file
or directory of shared-folder. Just only
zwopenfile/zwcreatefile or others? I wanna control access to
a file of directory of my shared-folder. Which function should i hook?

Any answer’ll be great appreciated!

Best regards.
csjung.


You are currently subscribed to ntdev as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi Chang Sung,
As Nick was saying, it sounds like you’ll be needing
a filesystem filter driver to do what you’re trying to do and
it’s not a case of “hooking” an API as you were asking.
If you haven’t already done so, I suggest signing up for this
list’s sister, the NTFSD list. You can sign up for it via

www.osronline.com. All things relating to filesystems,
block drivers, and their filters are discussed there. I also
suggest you pick up the IFS Kit from Microsoft, if you don’t
already have it. Check out the SFilter sample as a starting point,
and study the included docs from OSR, as well as the information
on www.osronline.com.
Not to be a discouraging voice (I am ever an optimist in
real-life), but a fs filter project is a large undertaking if you’re
new to drivers. If I may suggest it, you might want to engage the
services of someone with experience with FS filter development
to help you get the ball rolling. There are a lot of details to
producing something robust enough for commercial use. Again,
on the site www.osronline.com, there is a mechanism for advertizing
for software work to be done. Alternately, it has been suggested that
people interested in finding consultants simply send private email to
those on the mailing lists, as there are people who contribute to the
lists who could help your project out a great deal. Be careful not to post
an ad here or on the NTFSD list, though, or you’ll earn the ire of
The Moderator. :wink:

Good luck,
Greg Dalcher

At 12:26 AM 7/3/2003 -0700, you wrote:

You want to control access to a file/directory from whom? Users on other
machines? In that case, why isn’t the standard ACL mechanism sufficient?
If you’re sure it isn’t, then you’re going to need to write a filesystem
filter driver, which is a complex task.

  • Nick Ryan (MVP for DDK)

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Chang
> Sung. Jung
> Sent: Thursday, July 03, 2003 12:05 AM
> To: NT Developers Interest List
> Subject: [ntdev] shared-folder
>
>
> Which kind of kernel function is called, When i open a file
> or directory of shared-folder. Just only
> zwopenfile/zwcreatefile or others? I wanna control access to
> a file of directory of my shared-folder. Which function should i hook?
>
> Any answer’ll be great appreciated!
>
> Best regards.
> csjung.
>
> —
> You are currently subscribed to ntdev as: xxxxx@nryan.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


You are currently subscribed to ntdev as: xxxxx@gdalcher.com
To unsubscribe send a blank email to xxxxx@lists.osr.com