asp.net限制用户登录到其他用户帐户 [英] asp.net restricting users to login to other user accounts
本文介绍了asp.net限制用户登录到其他用户帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在asp.net中创建了一个网站.在我的项目中,有ISE,CSE,ECE等3个分支机构.我已经为所有分支创建了新文件夹.但是,当ise用户登录时,他甚至可以通过更改url访问cse,ece分支.
请帮助我. . .
i have created a website in asp.net.in my project there are 3 branches like ISE,CSE,ECE. i have created new folder for all branches.but when a ise user login he can access even cse,ece branches by changing url.
plz help me . . .
推荐答案
我能告诉你的最好的是,您的代码允许根据用户角色(ISE,CSE或ECE)进行访问.
The best I can tell you is that your code that allows access according to the user''s role (ISE, CSE, or ECE) is messed up.
这篇关于asp.net限制用户登录到其他用户帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文