Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 07-04-2007   #1 (permalink)
kalpesh
Guest


 

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
Guest


 

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
Guest


 

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
Guest


 

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
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Access Rights Waldy Vista print fax & scan 4 06-16-2008 01:17 PM
Printing access rights Waldy Vista security 0 06-13-2008 09:22 AM
Search / access rights ? Kris Vista General 1 04-05-2008 02:42 PM
How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights kalpesh Vista General 1 07-04-2007 04:43 PM
Administrator access rights BarryD Vista account administration 1 06-02-2007 09:17 AM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com 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 2005-2008