登录后在https上运行WebApplication [英] Run WebApplication on https after Login
本文介绍了登录后在https上运行WebApplication的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发Web应用程序.
这样,用户登录系统并
如果Web应用程序在http端口上运行,则它将重定向到https端口.
Hi,
I am developing Webapplication.
In that,the user Logon into the system and
If webapplication is running on http port then it will be redirected to https port.
推荐答案
验证其登录名后,请使用Response.Redirect(UrlOfhttps).您还可以在IIS中配置站点要求ssl,以便您可以将登录页面之外的所有内容保存在子文件夹中,并使该子文件夹成为应用程序并在其上要求SSL.
After you validate their login, use Response.Redirect(UrlOfhttps). You can also configure in IIS that a site require ssl so maybe you have everything but your loginpage in a sub folder and make the subfolder an application and require SSL on it.
您好,
我认为您应该阅读本文,了解如何实现/建立HTTPS连接.
http://msdn.microsoft.com/en-us/library/ms178329.aspx [ ^ ]
在IIS 7中使用SSL.请注意,自IIS 6起,实现已发生更改,因此取决于您的版本.
http://learn.iis.net/page.aspx /144/how-to-set-up-ssl-on-iis/ [
Hi,
I think you should read this articles how to implement/establish HTTPS-Connections.
http://msdn.microsoft.com/en-us/library/ms178329.aspx[^]
Using SSL with IIS 7. Take care that the implementation changed since IIS 6, so it depends on your version.
http://learn.iis.net/page.aspx/144/how-to-set-up-ssl-on-iis/[^]
With Best Regards
这篇关于登录后在https上运行WebApplication的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文