🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cis.winnt.admin-security
3 messages
3 total messages Started by Alexander Cheng Thu, 20 May 1999 00:00
How to keep Private Object?
#52
Author: Alexander Cheng
Date: Thu, 20 May 1999 00:00
15 lines
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.
Re: How to keep Private Object?
#53
Author: Alexander Cheng
Date: Thu, 20 May 1999 00:00
3 lines
940 bytes
I found out the problem why I can't do it. It's because new security
descriptor didn't associate to the right object. Is anyone can tell me what
kind of object I can treat as a private object?
How to get domain name from Window 95 by using MFC function?
#54
Author: Alexander Cheng
Date: Fri, 28 May 1999 00:00
4 lines
990 bytes
If I want to obtain domain name on Window 95 by using MFC function in Visual
C++, which function is a proper one? Is CColumnDomainUsage correct?

Your help will be very appreciate.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads