Article

From:
To:
Ronald Hoek
Subject:
Re: On demand elevation in Delphi applicatio to createfolderin'ProgramFiles' folder [Edit] [Edit]
Newsgroup:
embarcadero.public.delphi.com.activex.using

Re: On demand elevation in Delphi applicatio to createfolderin'ProgramFiles' folder [Edit] [Edit]

Ronald wrote:

> But how does Windows do it itself - regarding the 'explorer.exe'
> process? - I just want the same functionality as it does
> (copy/past/rename/create etc.)

Explorer is a user-space app like any other.  The same rules of elevation 
apply to it.  It has a UAC manifest that requests "asInvoker" privileges. 
 Which means if the user that is running Explorer has permissions to invoke 
those filesystem operations on a given file, then Explorer will be able to 
do so, otherwise it will be denied like any other app.

-- Remy Lebeau (TeamB)
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Tue, 19 Nov 2024 16:26:19 UTC
Copyright © 2009-2024
HREF Tools Corp.