Can ZwCreateFile open the files in other PC'S

How can I open the file in the network machines in kernel modes.
Can ZwCreateFile achieve this?

I am sorry for my poor writing English!

At 11:07 AM 11/25/2003, Robin Zhua wrote:

How can I open the file in the network machines in kernel modes.
Can ZwCreateFile achieve this?

I am sorry for my poor writing English!

You need to use the MUP device to resolve the network addressing e.g. a
file path will be something like:

\device\MUP\ServerName\ShareName\DirName\FileName

Security is an interesting problem when accessing files across a network in
kernel mode. The security on the network share is in the context of the
user who opened the share. You driver must execute it’s requests with the
security context of the relevant user.

Mark.

Thanks for Mark’s advices.
I have searched google and ifs docmument,but got few info about this.
Can anyone tell me where can I find related infos.
Thanks!

“Mark S. Edwards” xxxxx@ntfsd…
>
> At 11:07 AM 11/25/2003, Robin Zhua wrote:
>
> >How can I open the file in the network machines in kernel modes.
> >Can ZwCreateFile achieve this?
> >–
> >I am sorry for my poor writing English!
>
> You need to use the MUP device to resolve the network addressing e.g. a
> file path will be something like:
>
> \device\MUP\ServerName\ShareName\DirName\FileName
>
> Security is an interesting problem when accessing files across a network
in
> kernel mode. The security on the network share is in the context of the
> user who opened the share. You driver must execute it’s requests with the
> security context of the relevant user.
>
> Mark.
>
>
>