UAC在Vista上发布问题 [英] UAC Issues On Vista

查看:87
本文介绍了UAC在Vista上发布问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管几天前我的根和亮点重做了,但是我不知道为什么我看起来正在进行一个持续的金发时刻。

仅仅是我或其中的其他人没有''得到'如何制作C#和VB.Net

应用程序可以很好地与Vista上的UAC一起使用。


我已经阅读并重读了我在UAC上可以找到的所有内容,''强命名''

程序集'''''''''''''''''''''''''''''''''''''''''''我不是你平均厚厚的b $ b,我只是不明白。


在我看来,在某种程度上它可能是一个案例The Emporer's New

衣服没有人愿意站起来说停!已经足够了!


如果有人对如何使其发挥作用有所了解并准备分享

他们的知识/经验那么非常感谢。

Even though I had my roots and highlights redone just a few days ago, I
don''t understand why I appear to be having an ongoing blond moment.

Is it just me or do others among you not ''get'' how to make C# and VB.Net
applications play nicely with the the UAC on Vista.

I have read and reread everything I can find on UAC, ''strong-naming'' of
assemblies, ''authenticode signing'' of assemblies and, even though I''m not
your average thicko by any means, I just dont get it.

It seems to me that, to some degree it might be a case of "The Emporer''s New
Clothes" and nobody is prepared to stand up and say "Stop! Enough already!".

If anyone has a blow-by-blow of how to make it work and is prepared to share
their knowledge/experience Then it would be most appreciated.

推荐答案

那么究竟是什么问题?


也许这个很有帮助:

http://www.leastprivilege.com /UACIsForDevelopers.aspx

-----

Dominick Baier( http://www.leastprivilege.com

开发更安全的Microsoft ASP.NET 2.0应用程序( http://www.microsoft.com/mspress/books/9989.asp
so what exactly is your problem??

Maybe this is helpful:

http://www.leastprivilege.com/UACIsForDevelopers.aspx

-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

尽管几天前我的根和亮点重做了,但是我不喜欢b $ b我明白为什么我似乎正在进行一个持续的金发时刻。


只是我或你其中的其他人没有''得到'如何制作C#和

VB.Net应用程序与Vista上的UAC很好地配合。


我已阅读并重读我在UAC上可以找到的所有内容,''强命名''<装配件的
,装配件的'authenticode签'',即使

我不是你的平均厚度,我也不明白。


在我看来,在某种程度上,它可能是The

Emporer's New Clothes的案例。并且没有人准备站起来说

停!已经够了!


如果有人对如何使其发挥作用有所了解并准备好分享他们的知识/经验非常感谢。
Even though I had my roots and highlights redone just a few days ago,
I don''t understand why I appear to be having an ongoing blond moment.

Is it just me or do others among you not ''get'' how to make C# and
VB.Net applications play nicely with the the UAC on Vista.

I have read and reread everything I can find on UAC, ''strong-naming''
of assemblies, ''authenticode signing'' of assemblies and, even though
I''m not your average thicko by any means, I just dont get it.

It seems to me that, to some degree it might be a case of "The
Emporer''s New Clothes" and nobody is prepared to stand up and say
"Stop! Enough already!".

If anyone has a blow-by-blow of how to make it work and is prepared to
share their knowledge/experience Then it would be most appreciated.





" Stephany Young" < noone @ localhostwrote in message

news:%2 *************** @ TK2MSFTNGP02.phx.gbl ...

"Stephany Young" <noone@localhostwrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...

尽管几天前我的根和亮点重做了,但是我不知道为什么我看起来正在进行一个持续的金发时刻。 br />

仅仅是我还是做其他人而不是'得到'如何制作C#和VB.Net

应用程序可以很好地与UAC一起使用Vista。


我已阅读并重读了我在UAC上可以找到的所有内容,''强命名''

汇编'''authenticode签名''虽然我不是你的平均厚度,但我还是没有得到它。
Even though I had my roots and highlights redone just a few days ago, I
don''t understand why I appear to be having an ongoing blond moment.

Is it just me or do others among you not ''get'' how to make C# and VB.Net
applications play nicely with the the UAC on Vista.

I have read and reread everything I can find on UAC, ''strong-naming'' of
assemblies, ''authenticode signing'' of assemblies and, even though I''m not
your average thicko by any means, I just dont get it.

http://blogs.msdn.com/cheller/archiv...-the-ways.aspx

http:// www。 devx.com/VistaSpecialRepo...6/1954?pf=true

http://blogs.msdn.com/cheller/archiv...-the-ways.aspx

http://www.devx.com/VistaSpecialRepo...6/1954?pf=true


感谢您的回复Dominick。


我对最小特权的概念没有任何问题,或者对于那个

来说,提升流程或子流程的权限这是绝对必要的




为了说明我的问题,考虑在VB.Net中完成一个应用程序(对于

b。* $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ >
表单有1个按钮它的处理程序

点击事件。


事件处理程序中的代码简单:


MessageBox.Show(Hello World!)


编译导致TestApp.exe的项目


如果你'跑' 'IDE中的项目完全没有问题。

应用程序按预期运行。


在IDE外运行项目然后我们被告知一个未识别的程序

(来自一个身份不明的发布者)正试图访问您的计算机。在

然后需要在程序运行之前给予同意(对于管理员)或提供管理

用户名/密码(对于标准用户)。


如何准备应用程序,使其在没有此palaver的情况下运行是

问题。我只是没有得到它。

" Dominick Baier" < dbaier@pleasepleasenospam_leastprivilege.comwro te

消息新闻:51 ************************** @ news。 microsoft.c om ...
Thanks for your response Dominick.

I''ve got no issues at all with the concept of ''least privilege'' or for that
matter being to elevate the privilege of a process or sub-process when it is
absolutely necessary to do so.

To illustrate my issue, consider an appplication done in VB.Net (for the
sake of argument):

The project comprises 1 form (Form1) which is
designated as the startup form.

The form has 1 button with handler for it''s
Click event.

The code in the event handler is simply:

MessageBox.Show("Hello World!")

Compile the project resulting in TestApp.exe

If you ''run'' the project in the IDE then no problems at all. The
application behaves as expected.

Run the project outside the IDE then we are told that an undentified program
(from an unidentified publisher) is attempting to access your computer. On
then need to give assent (for an administrator) or provide an administrative
username/password (for a standard user) before the program will run.

How to prepare the application so that it runs without this palaver is the
issue. I just don''t get it.
"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.comwro te in
message news:51**************************@news.microsoft.c om...

那么究竟是什么问题?


也许这很有帮助:

http://www.leastprivilege.com/UACIsForDevelopers.aspx


-----

Dominick Baier( http://www.leastprivilege.com

开发更安全的Microsoft ASP.NET 2.0应用程序

http://www.microsoft.com/mspress/books/9989 .asp
so what exactly is your problem??

Maybe this is helpful:

http://www.leastprivilege.com/UACIsForDevelopers.aspx

-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications
(http://www.microsoft.com/mspress/books/9989.asp)

>尽管几天前我的根和亮点重做了,
我不明白为什么我似乎正在进行bl ond moment。

只是我或你其中的其他人没有''得到'如何使C#和
VB.Net应用程序与Vista上的UAC很好地配合。 />
我已阅读并重读了我在UAC上可以找到的所有内容,''强烈命名''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''不管你的平均厚度是什么,我只是不明白。

在我看来,在某种程度上它可能是The
Emporer的情况新衣服并且没有人准备好站起来说停止!已经够了!

如果有人知道如何让它发挥作用并准备好分享他们的知识/经验那么我们将非常感激。
>Even though I had my roots and highlights redone just a few days ago,
I don''t understand why I appear to be having an ongoing blond moment.

Is it just me or do others among you not ''get'' how to make C# and
VB.Net applications play nicely with the the UAC on Vista.

I have read and reread everything I can find on UAC, ''strong-naming''
of assemblies, ''authenticode signing'' of assemblies and, even though
I''m not your average thicko by any means, I just dont get it.

It seems to me that, to some degree it might be a case of "The
Emporer''s New Clothes" and nobody is prepared to stand up and say
"Stop! Enough already!".

If anyone has a blow-by-blow of how to make it work and is prepared to
share their knowledge/experience Then it would be most appreciated.



这篇关于UAC在Vista上发布问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆