受保护和不受保护的页面 [英] Secured and Unsecured Pages

查看:102
本文介绍了受保护和不受保护的页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Asp.net 4.0中开发一个Web应用程序,其中我有两种类型的受保护页面和不受保护页面.

要访问安全页面,用户必须成功登录.

这可以通过两种方式实现:

第一种方法:web.config文件中的位置标记.

第二种方法:为安全和不安全创建2个虚拟目录.

请提出更好的方法,如果有其他更好的选择,也请提出建议.

提前致谢.....

I am developing a Web Application in Asp.net 4.0 , wherein i have two types of Pages Secured and Unsecured.

To access Secure Pages, the user must successfully Login.

This can be achieved in two ways:

1st Approach : Location Tag in web.config file.

2nd Approach : Make 2 virtual directories for Secured and Unsecured.

Please suggest the better approach and also suggest ,if any other better option available.

Thanks In Advance.....

推荐答案

关注以下链接,而忘记了您到目前为止的想法:

网站管理工具 [
Follow the below link and forget about what you thought up to now:

Web Site Administration Tools[^]


这篇关于受保护和不受保护的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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