English 中文(简体)
HTTPS 转往HTTP
原标题:HTTPS switches to HTTP
  • 时间:2010-03-04 21:45:36
  •  标签:
  • http
  • https

缩略语 我被javascript转往https://。 该网页在https上开放。 成功砍伐后,下页又在http://www.un.org上。 为什么也用https打开下页。 我将JETTY作为网络服务器。

问题回答

http://mysite.com/login.php

如果是的话,我建议使用相对链接(例如<form action=“login.php”方法=“POST”>)。

加密通常只在转让用户名和密码(或您的在线银行账户)等敏感数据时使用。

对StackOver等其它公共网站来说,使用HTTPS做的是不切实际的,因为如果在StackOverflow用户的每张录音带都使用HTTPS进行每张页面访问,则由于加密是资源密集型的,需要更多的硬件,因此该网址的运行费用可能太大。

服务器边软件可以在日志网页上做这样的工作:

  1. User goes to login page http://mysite.com/login
  2. Login page is displayed. The HTML form points to https://mysite.com
  3. User types username/password and submits the form over an encrypted session
  4. User lands on "Login successful" page which redirects to the unencrypted http://mysite.com/

The HTTP support redirects in the Header using Location press:

Location: http://www.example.org/
Content-Type: text/html
Content-Length: 174

希望这一帮助!





相关问题
How to set response filename without forcing "save as" dialog

I am returning a stream in some response setting the appropriate content-type header. The behavior I m looking for is this: If the browser is able to render content of the given content type then it ...

Which Http redirects status code to use?

friendfeed.com uses 302. bit.ly uses 301. I had decided to use 303. Do they behave differently in terms of support by browsers ?

Does HttpWebRequest send 200 OK automatically?

Background: I am implementing Paypal IPN handler. This great article on Paypal states that I am required to send a 200 OK back to Paypal after I read the response. The processing of IPN request is ...

Java HTTPAUTH

我试图把桌面应用程序连接起来,我是同D.icio.us api @ Delicious Alan书写的,简单地向他们提供我的用户名和密码,并请他把书记上写给我......。

Finding out where curl was redirected

I m using curl to make php send an http request to some website somewhere and have set CURLOPT_FOLLOWLOCATION to 1 so that it follows redirects. How then, can I find out where it was eventually ...

热门标签