[Tutor] Vista UAC

Lie Ryan lie.1296 at gmail.com
Fri Sep 11 22:19:01 CEST 2009


Jeff Johnson wrote:
> Lie Ryan wrote:
>> Jeff Johnson wrote:
>>> I have an application that uses something that auto updates but it 
>>> may not be the same process as yours.  I have a "stub" executable 
>>> that checks a network location for a different copy of the "real" 
>>> executable.  If one exists, it copies the exe to the application 
>>> folder and executes it.  My solution for Vista - which works very 
>>> well - is to put my application in a folder 
>>> C:\users\public\applications\myapplication.
>>>
>>> This way there is no need for raised privileges.
>>>
>>
>> The only problem with installing in public folder that is it allows 
>> non-privileged (read: any) user to modify the program; which might be 
>> unwanted for some apps.
> 
> My programs are exe's and not editable.
> 

Even if it's an .exe, malicious users could overwrite your program with 
a malicious executable. In some environment this could be considered a 
security issue.



More information about the Tutor mailing list