🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15177

Re: Full control over user, how ?

#15177
From: Hugo Oliveira Dias
Date: Thu, 17 Jul 2003 22:31
61 lines
3540 bytes
Search for "Security", "Previleges", "Security Functions", "Shuting Down" in
the Win32 Developer's Reference.

There are several APIs :

AccessCheck,
AccessCheckAndAuditAlarm,AddAccessAllowedAce,AddAccessDeniedAce,AddAce
AddAuditAccessAce,AdjustTokenGroups,AdjustTokenPrivileges,AllocateAndInitial
izeSid,AllocateLocallyUniqueId
AreAllAccessesGranted,AreAnyAccessesGranted,BuildExplicitAccessWithName
,BuildSecurityDescriptor ,BuildTrusteeWithName
BuildTrusteeWithSid
,CopySid,CreatePrivateObjectSecurity,CreateProcessAsUser,DdeImpersonateClien
t,DeleteAce,
DestroyPrivateObjectSecurity,DuplicateToken,DuplicateTokenEx,EqualPrefixSid,
EqualSid,FindFirstFreeAce,FreeSid
GetAce,GetAclInformation,GetAuditedPermissionsFromAcl
,GetEffectiveRightsFromAcl,GetExplicitEntriesFromAcl,
GetFileSecurity,GetKernelObjectSecurity,GetLengthSid,GetNamedSecurityInfo
,GetPrivateObjectSecurity,GetProcessWindowStation
GetSecurityDescriptorControl,GetSecurityDescriptorDacl,GetSecurityDescriptor
Group,GetSecurityDescriptorLength
GetSecurityDescriptorOwner,GetSecurityDescriptorSacl,GetSecurityInfo
,GetSidIdentifierAuthority,GetSidLengthRequired
GetSidSubAuthority,GetSidSubAuthorityCount,GetTokenInformation,GetTrusteeFor
m ,GetTrusteeName ,GetTrusteeType
GetUserObjectSecurity,ImpersonateLoggedOnUser,ImpersonateNamedPipeClient,Imp
ersonateSelf,InitializeAcl,
InitializeSecurityDescriptor,InitializeSid,IsValidAcl,IsValidSecurityDescrip
tor,IsValidSidLogonUser,LookupAccountName
LookupAccountSid,LookupPrivilegeDisplayName,LookupPrivilegeName,LookupPrivil
egeValue,LookupSecurityDescriptorParts
MakeAbsoluteSD,MakeSelfRelativeSD,MapGenericMask,ObjectCloseAuditAlarm,Objec
tDeleteAuditAlarm,ObjectOpenAuditAlarm
ObjectPrivilegeAuditAlarm,OpenProcessToken,OpenThreadToken,PrivilegeCheck,Pr
ivilegedServiceAuditAlarm,RevertToSelf,SetAclInformation
SetEntriesInAcl
,SetFileSecurity,SetKernelObjectSecurity,SetNamedSecurityInfo,SetPrivateObje
ctSecurity,SetSecurityDescriptorDacl
SetSecurityDescriptorGroup,SetSecurityDescriptorOwner,SetSecurityDescriptorS
acl,SetSecurityInfo ,SetThreadToken,SetTokenInformation
SetUserObjectSecurity

Regards,

Hugo Oliveira Dias



"Sergey Muschin" <sergey.muschin@tonservices.com> wrote in message
news:3f171c83@newsgroups.borland.com...
> Hi there,
>
> How to prevent a user from rebooting computer, invoking Task Manager,
> activating Task Bar , etc.
> API? Any available tools, classes? Any ideas ?
>
> Regards,
> Sergey Muschin
>
>
Technical Details
Message-ID: <3f1723a6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f171c83@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,3b1b95d72e4cd575
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-17 15:40:39 PST
From: "Hugo Oliveira Dias" <hugo.dias@no-spam.pluricanal.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f171c83@newsgroups.borland.com>
Subject: Re: Full control over user, how ?
Date: Thu, 17 Jul 2003 23:31:51 +0100
Lines: 63
Organization: Synchron Systems
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.58.167.9
Message-ID: <3f1723a6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058481062 213.58.167.9 (17 Jul 2003 15:31:02 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail