用户管理与活动目录登录? [英] user management with active directory login ?

查看:70
本文介绍了用户管理与活动目录登录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,



我开发了一个客户端只想在Intranet上运行的Web应用程序。这些网站不会公开访问。现在他们想要的是完整的应用程序应该通过活动目录使用/分组来管理。应用程序的权限也应该仅通过网络登录和组来管理。



因此,如果我们有一个表格来添加工作。现在他希望如果dataentry部门的用户组只允许访问工作表单。



数据库表同样如此。数据库权限也应该是动态的。我可能需要创建动态连接字符串。



请帮我这个吗?



i没有想法如何开始???



i have developed a web application which client wants to run on intranet only. these website will not have public access. now what they want is complete application should be manage by active directory use / grouping. permission on application should be also manage by network login and groups only.

so i.e. if we have one form for add job. now he wants that if usergroup of dataentry department should only allow to access job form.

same thing for database tables. permission on database should also be dynamic. may i need to create dynamic connection string.

help me on this please ??

i dont have idea how to start even ???

推荐答案

I have summarized the solution below for your reference..But incase you refer this page again for some reason be sure to go through the comments we have discussed so that you get a clear picture of why each point here has been discussed..


If you want to restrict the user to read/write/delete/modify in all the tables in your db then you can do it using code.

Create a User Mapping Table...Map the user with the entities he/she can use in the User mapping table. Allow the user to access those entities in for which the user has permissions....

Please check the folllowing links...You might be able to get some idea..
http://www.codeproject.com/Articles/265870/Bypass-Forms-Authentication-to-Use-Active-Director
http://www.codeproject.com/Articles/15877/ADAM-and-LDAP-Client-Net-LDAP-Access-Control-for-A

For Windows Authentication issue 
Please verify the below site...
http://www.codeproject.com/Articles/94612/Windows-Authentication

Regards,
Dinesh Kumar.V.


这篇关于用户管理与活动目录登录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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