🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: special hook question

#16169
From: user
Date: Thu, 29 May 2003 11:48
24 lines
2070 bytes
Dermold wrote:
> hi,
> 
> i have to create a system which decide (if a special file exists) whether a
> special application is allowed to start.
> 
> i think that this is only possible with a hook, but i have no idea. what
> kind of hook.how can i detect, if a special application tries to start, and
> how can i stop this, if this application is not allowed to start.
> 
> who can help and give ideas.
> 
> thanks dermold
> 
> 

Should we assume that you can't modify this special application so that, 
while it may be launched in any case, it won't do anything useful if the 
magic file doesn't exist? That seems to be a common way such things are 
done.

What bothers me is that even if you work out how to implement an 
execution hook, how will you prevent an uncooperative user from 
disabling it by preventing the hook process from being executed?
Technical Details
Message-ID: <3ED5F3AB.7080506@domain.invalid>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!arclight.uoregon.edu!wn13feed!wn12feed!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ed51019@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,da987a5f3effc388
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-29 05:22:13 PST
Message-ID: <3ED5F3AB.7080506@domain.invalid>
Date: Thu, 29 May 2003 07:48:59 -0400
From:  user@domain.invalid
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: special hook question
References: <3ed51019@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 68.162.138.29
X-Trace: newsgroups.borland.com 1054208955 68.162.138.29 (29 May 2003 04:49:15 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!arclight.uoregon.edu!wn13feed!wn12feed!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail