Article View: cis.winnt.admin-security
Article #52How to keep Private Object?
From: Alexander Cheng
Date: Thu, 20 May 1999 00:00
Date: Thu, 20 May 1999 00:00
15 lines
1447 bytes
1447 bytes
I use CreatePrivateObjectSecurity function to create a private object and get PSECURITY_DESCRIPTOR *NewDescriptor successfully. I can use GetPrivateObjectSecurity to get SD information without any problem. But after I save NewDescriptor into a file and didn't use DestroyPrivateObjectSecurity before exist this program and run this program again, the GetPrivateObjectSecurity function of this NewDescriptor which I saved is failed. I assume this Private Object already been destroyed when I exist this program even I didn't call DestroyPrivateObjectSecurity function. Is that a true statement? If not where is this Private Object stored and how to retrieve it after this program exist? Your help will be very appreciate.
Technical Details
Message-ID:
<7i1nip$p8q$1@news.connect.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f977f,1a32d68b665a91d9,start X-Google-Attributes: gidf977f,public X-Google-Thread: 10be66,1a32d68b665a91d9,start X-Google-Attributes: gid10be66,public From: "Alexander Cheng" <acheng@symon.com> Subject: How to keep Private Object? Date: 1999/05/20 Message-ID: <7i1nip$p8q$1@news.connect.net> X-Deja-AN: 480232160 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@connect.net X-Trace: news.connect.net 927228313 25882 208.6.148.221 (20 May 1999 19:25:13 GMT) Organization: ConnectNet, Inc. NNTP-Posting-Date: 20 May 1999 19:25:13 GMT Newsgroups: cis.winnt.admin-security,comp.os.ms-windows.nt.admin.security