Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights

Reply
 
Old 07-04-2007   #1 (permalink)
kalpesh


 
 

How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights

i want to create a named pipe with FILE_CREATE_PIPE_INSTANCE access
rights.
for that i have to create one security discriptor but i dont which
type of secirity discriptor i use to cerate namaed pipe with
FILE_CREATE_PIPE_INSTANCE rights.

while creating security discriptor i dont want to use
ConvertStringSecurityDescriptorToSecurityDescriptor funciton because
i am going to build this code in DDK and DDK not support this
function.

so give me suggestion about security discriptor for
FILE_CREATE_PIPE_INSTANCE access rights..

Thanks in advance..
Kalpesh


My System SpecsSystem Spec
Old 07-04-2007   #2 (permalink)
Jane C


 
 

Re: How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights

http://msdn2.microsoft.com/en-us/library/aa365600.aspx

If that doesn't point you in the right direction, you might have more
success asking at the MSDN forums:

http://forums.microsoft.com/msdn/default.aspx?siteid=1



--
Jane, not plain 64 bit enabled :-)
Batteries not included. Braincell on vacation ;-)
MVP Windows Shell/User

"kalpesh" <kalpeshgedia@gmail.com> wrote in message
news:1183547810.377506.166950@o11g2000prd.googlegroups.com...
>i want to create a named pipe with FILE_CREATE_PIPE_INSTANCE access
> rights.
> for that i have to create one security discriptor but i dont which
> type of secirity discriptor i use to cerate namaed pipe with
> FILE_CREATE_PIPE_INSTANCE rights.
>
> while creating security discriptor i dont want to use
> ConvertStringSecurityDescriptorToSecurityDescriptor funciton because
> i am going to build this code in DDK and DDK not support this
> function.
>
> so give me suggestion about security discriptor for
> FILE_CREATE_PIPE_INSTANCE access rights..
>
> Thanks in advance..
> Kalpesh
>


My System SpecsSystem Spec
Old 07-05-2007   #3 (permalink)
kalpesh


 
 

Re: How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights

On Jul 4, 4:47 pm, "Jane C" <janecol...@invalid.iinet.net.au> wrote:
> http://msdn2.microsoft.com/en-us/library/aa365600.aspx
>
> If that doesn't point you in the right direction, you might have more
> success asking at the MSDN forums:
>
> http://forums.microsoft.com/msdn/default.aspx?siteid=1
>
> --
> Jane, not plain 64 bit enabled :-)
> Batteries not included. Braincell on vacation ;-)
> MVP Windows Shell/User
>
> "kalpesh" <kalpeshge...@gmail.com> wrote in message
>
> news:1183547810.377506.166950@o11g2000prd.googlegroups.com...
>
>
>
> >i want to create a named pipe with FILE_CREATE_PIPE_INSTANCE access
> > rights.
> > for that i have to create one security discriptor but i dont which
> > type of secirity discriptor i use to cerate namaed pipe with
> > FILE_CREATE_PIPE_INSTANCE rights.

>
> > while creating security discriptor i dont want to use
> > ConvertStringSecurityDescriptorToSecurityDescriptor funciton because
> > i am going to build this code in DDK and DDK not support this
> > function.

>
> > so give me suggestion about security discriptor for
> > FILE_CREATE_PIPE_INSTANCE access rights..

>
> > Thanks in advance..
> > Kalpesh- Hide quoted text -

>
> - Show quoted text -


The link provide by you is not so much helpful to me give me more
help ....

My System SpecsSystem Spec
Old 07-05-2007   #4 (permalink)
Alun Jones


 
 

Re: How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights

"kalpesh" <kalpeshgedia@gmail.com> wrote in message
news:1183612035.307722.118220@i38g2000prf.googlegroups.com...
> The link provide by you is not so much helpful to me give me more
> help ....


First you call CreateNamedPipe, to create the pipe.

Then you call SetSecurityInfo to change the Security Descriptor on the pipe.

Then your only issue is how to create the DACL for the Security Descriptor -
you almost certainly want to call GetSecurityInfo, to find out what the
existing DACL is, and modify it, rather than create one from scratch.

The SetEntriesInAcl function can then be used to create a new ACL with extra
access entries on top of what was originally in the DACL - example code is
at http://msdn2.microsoft.com/en-us/library/aa379283.aspx

Alun.
~~~~


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How to access a registry entry wo no access rights Vista security
Printing Access Rights Vista print fax & scan
Search / access rights ? Vista General
How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights Vista General
Administrator access rights Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46