问题描述
我们组织中有几台共享用户的计算机。虽然我们使用一般帐户登录这些计算机,但我需要让这些人根据他们的Windows身份验证访问程序的不同区域。
目前我们使用一个表格拥有他们的用户名和密码,但这既不安全又不优雅。每当用户的密码更改时,我们必须从IT获取他们的信息,当然他们不想分享...我如何向我的程序添加一个表单,该表单将对Windows域进行身份验证。在我可以找出基于角色的访问之前,我可能仍然需要使用表来访问规则。
非常感谢任何帮助。
我已经找到了有关environment.username的信息。但这只会返回当前登录的用户,这对提升访问权限没有帮助。
-
--Eric Cathell,MCSA
We have several computers in our organization that share users. While we use a general account for logging into these computers, I need to give these certain people access to different areas of the program based on their windows authentication.
Currently we use a table that holds their username and password, but that is both not secure and a inelegant. Whenever the user''s password changes we have to get their information from IT, which of course they don''t want to share...how can I add a form to my program that will authenticate against a windows domain. I will may still need to use a table for access rules until I can figure out Role based access.
any help is greatly appreciated.
I already have found information on environment.username. But that only returns the current logged in user, which doesn''t help for elevated access.
--
--Eric Cathell, MCSA
推荐答案
这篇关于域身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!