完全信任与“以管理员身份运行"是否相同? [英] Does full trust mean the same as Run As Administrator
问题描述
完全信任意味着与以管理员身份运行"相同吗?我已经读过一些东西,指出要使其正常工作,该应用程序必须是完全信任的应用程序".这与您必须具有管理员特权才能运行该应用程序一样吗?如果没有,有什么区别?您如何判断应用程序是否为完全信任"?
Does full trust mean the same as Run As Administrator? I have read things stating that "for this to work, the application must be a full-trust application." Is that the same as you must have administrator privileges to run the application? If not, what's the difference? How can you tell if an app is "full-trust"?
有人告诉我:无论是否为管理员,.Net应用程序如果不是从'受信任的'位置运行的,它们都不会做某些事情."什么是受信任位置"?如果您从受信任的位置"运行应用程序,您是否可以在不需要管理员的情况下做需要完全信任"的事情?
I am told that "Administrator or not, .Net apps won't do certain things if they aren't running from a 'trusted' location." What is a "trusted location"? If you run an app from a "trusted location", can you do things that "require full-trust" without being an administrator?
推荐答案
否.完全信任是.NET术语,用于表示它不在特权降低的.NET沙箱中运行.在3.5 SP1之前的.NET中,这包括从网络共享运行(默认配置).它还包括作为尚未请求其他权限的ClickOnce应用程序运行,或在其他基于浏览器的沙箱中运行.
No. Full-trust is a .NET term used to indicate that it's not running in a reduced-priviledge .NET sandbox. In .NET prior to 3.5 SP1, this included running from a network share (in the default configuration). It also includes running as a ClickOnce application that has not requested additional permissions, or in some other browser-based sandbox.
完全信任意味着它可以像正在运行的用户一样执行任何操作,而不是以管理员身份运行.
Full-trust means it can do anything the user it is running as can do, not that is running as an administrator.
这篇关于完全信任与“以管理员身份运行"是否相同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!