检查应用程序是否可以在没有管理员权限的情况下运行?

发布于 2024-09-05 10:51:28 字数 257 浏览 2 评论 0原文

为了让 Windows 用户以普通用户而不是管理员身份登录,我需要检查他们的所有应用程序是否在有限的权限下运行正常。

是否有专门用于检查应用程序是否可以以有限权限运行的应用程序,或者是 SysInternals 的 进程监视器 大家都用什么来达到这个目的?

谢谢。

To get Windows users to log on as regular users instead of admin, I need to check that all their applications run OK with limited rights.

Is there an application specifically aimed at checking that an application can run with limited rights, or is SysInternals' Process Monitor what everyone uses for this purpose?

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

像极了他 2024-09-12 10:51:28

创建一个具有应用程序域用户权限的测试帐户 在非开发计算机上以该用户身份登录。最好是安装了新操作系统和所有其他“标准”公司软件的计算机。安装软件并运行。 这是真正测试您的应用程序的唯一方法。

  • 确保您运行了整个应用程序。
  • 确保安装和卸载按预期进行,并且不会留下任何痕迹。
  • 能够将测试计算机上的操作系统和软件恢复到原始状态是一个很大的帮助。

使用权限计算器工具确保在执行此测试之前处理明显的问题。

Create a test account that has the permissions as the domain users of your application Login in as this user on a non-development computer. Preferrably a computer with a new operating system installation and all of the other "standard" company software. Install the software and run. This is the only way to really test your application.

  • Make sure you exercise the entire application.
  • Make sure install and uninstall work as expected and do not leave any artifacts behind.
  • Having the ability to restore the operating-system and software on the test computer to its original state is a great help.

Use the Permission Calculator Tool to make sure you handle obvious issues before performing this test.

瞳孔里扚悲伤 2024-09-12 10:51:28

我不确定它是否有帮助,因为我从未使用过它,但我知道在 http://msdn.microsoft.com/en-us/library/ms165077%28VS.80%29.aspx。

权限计算器工具
(Permcalc.exe)

最低拨款集的确定
工具(Permcalc.exe)用于
估计调用者必须拥有的权限
被授予访问公共条目的权限
装配点。这个工具是
.NET Framework 2.0 版中的新增功能。
它旨在供高级人员使用
用户。

I'm not sure if it would help since I never used it but I know there's a Permission Calculator Tool (Permcalc.exe) at http://msdn.microsoft.com/en-us/library/ms165077%28VS.80%29.aspx.

Permission Calculator Tool
(Permcalc.exe)

The Minimum Grant Set Determination
tool (Permcalc.exe) is used to
estimate the permissions callers must
be granted to access the public entry
points of an assembly. This tool is
new in the .NET Framework version 2.0.
It is intended for use by advanced
users.

淡写薰衣草的香 2024-09-12 10:51:28

在启用访问控制的 Windows 7/Vista 上运行此应用程序。您可以将 Windows 7 视为此类测试应用程序:)

建议在编写和调试程序时在开发人员计算机上使用具有激活访问控制的非管理员帐户。这会产生一些问题,Windows 开发人员讨厌这样做,关闭访问控制或使用管理员帐户。然而,在Linux/Unix上工作,我们没有管理员权限,这没关系。

Run this application on Windows 7/Vista with access control enabled. You may consider Windows 7 as such testing application :)

It is recommended to use non-administrator account with activated access control on a developer computer, when you write and debug the program. This creates some problems, and Windows developers hate this, turning off access control or using administrator account. However, working on Linux/Unix, we don't have administrator rights, and this is OK.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文