UAC should prompt only once when application runs first time
Guest
Posts: n/a
Posts: n/a
> UAC should ask for permission ONCE and remembers what programs arePrograms should be re-written so they don't need full rights to the whole
> allowed/not-allowed to run.
>
> Further (optional): The ONLY time UAC should give warnings for a
> previously
> allowed program is in the event that the program has been altered, i.e.
> updated to new version, (anything that changes the CODE of the program).
>
> This would make UAC warnings very useful as a protection strategy without
> the annoyance!
>
> Many people are turning off UAC because it keeps prompting over and over
> again for the SAME applications. UAC is a great protection strategy, it
> just
> needs to REMEMBER which programs are allowed.
> "etrek" <etrek@discussions.microsoft.com> wrote in message
> news:0B20AB3D-2C8B-4B96-AB26-95D6FCAF9E35@microsoft.com...> > UAC should ask for permission ONCE and remembers what programs are>
> > allowed/not-allowed to run.
> >
> > Further (optional): The ONLY time UAC should give warnings for a
> > previously
> > allowed program is in the event that the program has been altered, i.e.
> > updated to new version, (anything that changes the CODE of the program).
> >
> > This would make UAC warnings very useful as a protection strategy without
> > the annoyance!
> >
> > Many people are turning off UAC because it keeps prompting over and over
> > again for the SAME applications. UAC is a great protection strategy, it
> > just
> > needs to REMEMBER which programs are allowed.
> Programs should be re-written so they don't need full rights to the whole
> box, which is nothing less than bad practice which they've gotten away with
> for too long.
>
> --
> Paul Smith,
> Yeovil, UK.
> Microsoft MVP Windows Shell/User.
> http://www.dasmirnov.net/blog/
> http://www.windowsresource.net/
>
> *Remove nospam. to reply by e-mail*
>
>
>
> Programs should be re-written so they don't need full rights to the wholePrograms only need to require a *single* additional right before UAC gets in
> box,
>which is nothing less than bad practice which they've gotten away with forThere are many areas where bad practices have existed, however restricting
>too long.
>
> "Paul Smith" <Paul@nospam.windowsresource.net> wrote in message
> news:uPL8eNt3HHA.5804@TK2MSFTNGP05.phx.gbl...>> Programs should be re-written so they don't need full rights to the whole>
>> box,
> Programs only need to require a *single* additional right before UAC gets
> in the way. There are many legitimate reasons for applications to require
> additional rights.
>
> What I would like to see is the ability to configure applications in a
> manner similar to the internet configuration where you can designate
> trusted applications. Furthermore, I would like to have the ability to
> grant/deny each application specific user rights. This would allow the
> setup program for the application to grant the application the rights that
> it needs without hindering the users ability to use the application.
>
>>>which is nothing less than bad practice which they've gotten away with for>
>>too long.
> There are many areas where bad practices have existed, however restricting
> the users ability to use valid rights that have been assigned to them is
> self-defeating.
>
> -Pete
>
> If a program requires ongoing administrative permissions it can be setupIf a program is a user-based application, setting it up as a service makes
> as a service.
>In Vista services have a SID and can be restricted to only havingI don't think that this is useful in the sense that what if my application
>administrative permissions for certain things. This accomplishes some of
>what you are talking about but only with Vista compatible applications. The
>installer would require a UAC prompt. It would then set up the part of the
>program that requires administrative access as a service and restrict what
>that service is allowed to do. This can be as specific as what network
>ports can be used, what folders can be accessed, etc.
> absolutely no sense.If a program is a user-based application it should not be doing system-wide
>In addition, setting a program up to run as a serviceNot true at all. The TCB is just the kernel, not all the services in the
> means that the particular program must be designed and tested to run as a
> part of the TCB
> I don't think that this is useful in the sense that what if my applicationSE_IMPERSONATE_NAME essentially gives you admin privs on the system. You're
> requires the SeImpersonatePrivilege right and no other rights. This
> specific privilege allows my user-based application to do what it needs to
> do. My app doesn't need anything else.
> The current Microsoft scheme givesNot true. Take a look at
> me all of the user rights for the account or the filtered rights. There is
> no way to specify anything in between which is plain stupid.
> I should beI'm not sure what you are getting at there. Are you asking why the OS does
> able to add the specific required rights into the manifest file, but as of
> today, I can't. I can only accept one of three options. This doesn't give
> me the fine-grained security that I am used to getting with Windows and is
> IMHO a flaw in the design of UAC.
What part of my post indicated that my hypothetical application makes>> If a program is a user-based application, setting it up as a service>
>> makes
>> absolutely no sense.
> If a program is a user-based application it should not be doing
> system-wide
> changes. If a program does make system-wide changes, then it makes
> absolute
> sense to set that part up as a service.
>Bullcrap. The TCB is NOT just the kernel. "[the] SeTcbPrivilege, which>>In addition, setting a program up to run as a service>
>> means that the particular program must be designed and tested to run as a
>> part of the TCB
> Not true at all. The TCB is just the kernel, not all the services in the
> system.
>No, it doesn't. It gives you the ability to impersonate the security>> I don't think that this is useful in the sense that what if my>
>> application
>> requires the SeImpersonatePrivilege right and no other rights. This
>> specific privilege allows my user-based application to do what it needs
>> to
>> do. My app doesn't need anything else.
> SE_IMPERSONATE_NAME essentially gives you admin privs on the system.
>You'reWrong again. Unless you have the ability to access and use a kernel object
> right. Your app won't need anything else since granting the user identity
> SE_IMPERSONATE_NAME is tantamount to making the user an admin, possibly a
> domain admin, depending on how you run your network.
>So your contention is that an application is safe because it can adjust it's>> The current Microsoft scheme gives>
>> me all of the user rights for the account or the filtered rights. There
>> is
>> no way to specify anything in between which is plain stupid.
> Not true. Take a look at
> http://msdn2.microsoft.com/en-us/library/aa375202.aspx. You can, and
> should,
> take out any privileges you don't need.
>I'm asking why the manifest file doesn't have a section in the security>> I should be>
>> able to add the specific required rights into the manifest file, but as
>> of
>> today, I can't. I can only accept one of three options. This doesn't
>> give
>> me the fine-grained security that I am used to getting with Windows and
>> is
>> IMHO a flaw in the design of UAC.
> I'm not sure what you are getting at there. Are you asking why the OS does
> not ask the app what privs it needs and creates a process token with just
> those privs? That is not a bad idea. It would be easier than starting out
> with calling AdjustTokenPrivileges.
>I wasn't aware of that particular book. Are you the co-author????
> BTW, this is an interesting article on this topic:
> http://blogs.msdn.com/windowsvistase...ac-prompt.aspx
> ---
> Your question may already be answered in Windows Vista Security:
> http://www.amazon.com/gp/product/047...otectyourwi-20
>
> system-wide changes? There are a variety of privileges that canThe point is not whether the program does system-wide changes by itself, but
> legitimately be used by a user-based application without the need for full
> administrative privileges and those privileges do not necessarily need to be
> used to make system changes.
> Bullcrap. The TCB is NOT just the kernel. "[the] SeTcbPrivilege, whichYou're missing my point. You made the argument that "setting a program up to
> SYSTEM has by default.
> This is the most powerful privilege in Windows, as itI'm well aware of where the acronym came from. It was from the Orange Book
> indicates that you are effectively part of the operating system itself, or
> the "trusted computing base," which is where the acronym TCB comes from."
> In the context of our discussion, unless you have configured your service toSort of, I guess. You have to configure a user context for the service. You
> run as a different user, it will run in the system context in the system
> login session thus making it a part of the TCB since LocalSystem has the
> SeTcbPrivilege right.
> Granted, on Vista one could use the RequiredPrivileges registry entry toThe easier option may be to call ChangeServiceConfig2 at level
> limit the attack surface that a poorly written service will provide to
> malicious code, but the fact remains that adding code to the TCB unless
> absolutely required is not advisable.
I don't think we're in disagreement there. You create some trojan COM> > SE_IMPERSONATE_NAME essentially gives you admin privs on the system.>
> No, it doesn't. It gives you the ability to impersonate the security
> context of a user using one of the impersonation functions. With the
> exception of the ImpersonateAnonymousToken function, this requires that you
> have access to a kernel object with different security credentials.
> So your contention is that an application is safe because it can adjust it'sI'd have to play with it, but I don't see how you would do that. You'd have
> privileges? What is then to stop malicious code from then readjusting the
> token privileges *back* to the highest available privileges? Nothing.
> I'm asking why the manifest file doesn't have a section in the securityThat's a great idea. If you are on the Windows Preview beta (not a beta,
> element that allows me to enumerate the privileges that my application
> needs. When the process is elevated (if required) then my token should be
> filtered to only have the requested privileges.
Yes.> > Your question may already be answered in Windows Vista Security:>
> > http://www.amazon.com/gp/product/047...otectyourwi-20
> >
> I wasn't aware of that particular book. Are you the co-author????
> UAC should ask for permission ONCE and remembers what programs are
> allowed/not-allowed to run.
>
> Further (optional): The ONLY time UAC should give warnings for a
> previously
> allowed program is in the event that the program has been altered, i.e.
> updated to new version, (anything that changes the CODE of the program).
>
> This would make UAC warnings very useful as a protection strategy without
> the annoyance!
>
> Many people are turning off UAC because it keeps prompting over and over
> again for the SAME applications. UAC is a great protection strategy, it
> just
> needs to REMEMBER which programs are allowed.
>
> ----------------
> This post is a suggestion for Microsoft, and Microsoft responds to the
> suggestions with the most votes. To vote for this suggestion, click the "I
> Agree" button in the message pane. If you do not see the button, follow
> this
> link to open the suggestion in the Microsoft Web-based Newsreader and then
> click "I Agree" in the message pane.
>
> http://windowshelp.microsoft.com/com...vista.security
| | LinkBack | Thread Tools | Display Modes |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| grant or deny this application permission to use this key prompt | Alun Jones | Windows Vista Security | 3 | 01-31-2007 08:26 PM |
| application runs error | miles | Windows XP Embedded | 2 | 01-30-2005 07:48 AM |
| chkdsk runs every time... | José Jeria | Windows XP Help & Support | 1 | 11-10-2003 12:33 AM |
| Windows Installer runs when starting application | garyc@progressive-plastics.com | Windows XP Performance & Maintenance | 0 | 10-23-2003 01:15 PM |
| CHKDSK runs every time I boot! | jaze | Windows XP Help & Support | 2 | 09-06-2003 08:44 AM |
| LinkBack |
LinkBack URL |
About LinkBacks |


Linear Mode


Posts: n/a