🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Taking priviledges...

#5524
From: qyte
Date: Fri, 12 Aug 2005 09:22
30 lines
1928 bytes
Remy Lebeau (TeamB) wrote:
> "qyte" <gyte@vivodinet.gr> wrote in message
> news:42f5d572@newsgroups.borland.com...
> 
> 
>>Is there a way to take system priviledges at runtime?
> 
> 
> That would be a very big security hole if any arbitrary application could
> give itself such privileges at will whenever it wanted to.
> 
> 
>>I mean something like Norton Antivirus has that it Doesn't
>>allow a user to close it even using the task manager.
> 
> 
> Antivirus programs tend to be implemented as services.  The OS protects
> services from unauthorized access, especially termination.  All access to a
> service has to be filtered through the SCM (Service Control Manager).
> 
> 
> Gambit
> 
> 

How can i build such a program?
Is it possible to transform a VCL app
to a service? Has that anything to do with TService??
Can i do it through InnoSetup using the Delphi-Code that comes
with it Somehow???
Technical Details
Message-ID: <42fc6a66@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42f5d572@newsgroups.borland.com> <42f78d85$6@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cb8ff3c4c1f57417
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 12 Aug 2005 12:22:44 +0300
From: qyte <gyte@vivodinet.gr>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Taking priviledges...
References: <42f5d572@newsgroups.borland.com> <42f78d85$6@newsgroups.borland.com>
In-Reply-To: <42f78d85$6@newsgroups.borland.com>
Content-Type: text/plain; charset=windows-1253; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.74.141.93
Message-ID: <42fc6a66@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123838566 62.74.141.93 (12 Aug 2005 02:22:46 -0700)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail