什么是我需要知道创建一个使用HTTPS的网站? [英] What do I need to know to create a website that uses HTTPS?

查看:126
本文介绍了什么是我需要知道创建一个使用HTTPS的网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道ASP.NET,并知道人们为什么使用HTTPS,我大概了解了一下IIS,但我从来没有创建了一个HTTPS的网站或网页在我的网站。

  1. 如何创建一个HTTPS的网站?
  2. 如何只能让自己的登录页面HTTPS在一个正常的HTTP项目?
  3. 是否还有其他方面的考虑,我需要知道在使用HTTPS的?
解决方案
  1. 在IIS7只需添加您要使用SSL HTTPS绑定的网站。 因为这是必须有一个证书。您可以使用自签名证书或从VeriSign,Thawte的,...

  2. 买它
  3. 您可以使用您的网页同样的方式在HTTP。 SSL是不是用户autentication,但为确保通信香奈儿。您只能检查是否使用安全连接

    如果(Request.IsSecureConnection)  {  }

I know ASP.NET, and know why people use HTTPS and I know a bit about IIS, but I have never created a HTTPS website or page in my site.

  1. How can I create a HTTPS website?
  2. How can I only make my login page HTTPS in a normal HTTP project?
  3. Are there any other considerations I need to be aware of when using HTTPS?

解决方案

  1. In IIS7 you simply add https binding to website on which you want to use SSL. For this is necessary to have a certificate. You can use self-signed certificate or buy it from VeriSign, Thawte,...

  2. You can use your pages same way as in http. SSL is not for user autentication, but for securing communication chanel. You can only check if is used secure connection

    if (Request.IsSecureConnection) { }

这篇关于什么是我需要知道创建一个使用HTTPS的网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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