检查应用程序是否可以在没有管理员权限的情况下运行?
为了让 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
创建一个具有应用程序域用户权限的测试帐户 在非开发计算机上以该用户身份登录。最好是安装了新操作系统和所有其他“标准”公司软件的计算机。安装软件并运行。 这是真正测试您的应用程序的唯一方法。
使用权限计算器工具确保在执行此测试之前处理明显的问题。
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.
Use the Permission Calculator Tool to make sure you handle obvious issues before performing this test.
我不确定它是否有帮助,因为我从未使用过它,但我知道在 http://msdn.microsoft.com/en-us/library/ms165077%28VS.80%29.aspx。
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.
在启用访问控制的 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.