在单个网站中的多个文件夹中开发认证和授权。 [英] Developing authentcation and authorization in multiple folders in single website.

查看:157
本文介绍了在单个网站中的多个文件夹中开发认证和授权。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

网站使用表单身份验证实现,其中管理员和管理员是安全文件夹。

经理文件夹应该可供所有已验证的用户和管理员文件夹访问内容应该可以访问已经通过管理员访问进行身份验证的用户,然后提供管理员凭据。



帮助我如何对上述内容进行身份验证和授权案例。







因为我是学生,请提供一些上述例子。

A Website is implemented with "Forms authenication" where "Admin" and "Manager" are secured folders.
"Manager" folder should be accessible to all users who are authenicated and "Admin" Folder contents should be accesible to a user who is already authenticated with "Manager"access and then who provide admin credentials.

Help me how to make authentication and authorization for the above case.



As i am a student ,Please Provide some examples for the above.

推荐答案

为此目的存在一个基于角色的标准模型:)



请到这里 [ ^ ]
There are a Role-based standart model existed for this purposes :)

Please, go here[^]


这篇关于在单个网站中的多个文件夹中开发认证和授权。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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