登录页面的SSL实施:一些查询 [英] SSL Implementation for Login page : Some Queries

查看:76
本文介绍了登录页面的SSL实施:一些查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Web应用程序,每个人都可以访问页面,并且根据用户角色访问该应用程序的一部分.我实现了基于表单的身份验证和基于角色的安全性.现在,客户端希望将SSL添加到登录页面.我对如何满足此要求有一些疑问.我从未在SSL上做过任何工作,所以这对我来说是学习的难处.

1>是否可以仅为Web应用程序的一部分而不是整个应用程序添加SSL. ?我只想通过SSL启用Login.aspx页面,并在没有SSL的情况下保留其余应用程序的访问权限.

2>目前,我的登录控件在Model Popup Extender中.从技术上讲,它不是页面,而是作为隐藏面板驻留在母版页中,当用户单击登录菜单按钮时,它将弹出.我不确定是否可以仅将SSL添加到模型弹出扩展器中,还是必须创建Login.aspx页并在其中放置登录控件?

3>

I have a web application that has pages accessed by everyone and part of the application is accessed based on user roles. I implemented Form based Authentication with Role based security. Now client wants to add SSL to the login page. I have some queries regarding how to go for this requirement. I have never done any work on SSL so this is the learning curve for me.

1 > Is it possible to add SSL for just part of the web application and not the whole application. ? I just want to SSL enable Login.aspx page and leave rest of the application accessible without SSL.

2 > At the moment my login control is in a Model Popup Extender. Technically it is not a page but it resides in a Master page as a hidden panel and when user clicks on the login menu button it will pop up. I am not sure is it possible to add SSL to just model popup extender or do I have to create a Login.aspx page and put login control there ?

3> Any good resource to implement this will be appreciated.

推荐答案



请导航到以下给出的链接,根据我的看法,这是解决您问题的最简单的方法
http://www.xdevsoftware.com/blog/post/在ASPNET.aspx中从HTTP重定向到HTTPS [
Hi,

Please navigate to this link given below, according to me this is the most simplest solution to your problem
http://www.xdevsoftware.com/blog/post/Redirect-from-Http-to-Https-in-ASPNET.aspx[^]

Hope this will help


这篇关于登录页面的SSL实施:一些查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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