Jump to content

Recommended Posts

Posted

I run a few websites, and I've been thinking about moving them to use https connections, mostly to protect login credentials. But if I go to that trouble, why not run the *whole* website over https, since it would presumably offer some additional security benefits? Would there be any significant performance hit or problem likely to arise from using https connections site-wide?

Posted (edited)

No performance issue realistically, though getting the certificate managed so surfers are not confronted with the This certificate doesn't match the domain style messages can be frustrating depending on your hosting set-up.

Regards

Edited by A_Traveller
Posted
I run a few websites, and I've been thinking about moving them to use https connections, mostly to protect login credentials. But if I go to that trouble, why not run the *whole* website over https, since it would presumably offer some additional security benefits? Would there be any significant performance hit or problem likely to arise from using https connections site-wide?

There is not really a reason not to run a secure connection. There are a few issues you should be aware of though.

1. You need a certificate signed by Verisign or similar, which will cost you money every year. You can use your own certificate, but every time a user visit your site a warning message will appear.

2. Some servers require an individual IP for each certificate. This can be overcome with aliases or virtualization. In other words if you have virtual hosts on the same server, you can run into trouble.

3. It takes a little more administration, since you have to renew the certificate every year.

Posted
No performance issue realistically, though getting the certificate managed so surfers are not confronted with the This certificate doesn't match the domain style messages can be frustrating depending on your hosting set-up.

Regards

Do you mean when they get the error because they accessed http://domain.com instead of http://www.domain.com, etc? You should be able to overcome this problem with a few additions to your root .htaccess file:

<pre style="margin-top: 0pt; display: inline;">RewriteEngine on
 rewritecond %{http_host} ^domain.com [nc]
 rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]</pre>

Not my code, it's from here.

Posted

^ Agreed, there are other causes too, but many hosters do not provide access to the .htaccess and/or rewrite directive, hence my admittedly short 'hosting set-up' point.

Regards

Posted (edited)

I disagree. Although encrypting the markup won’t have too much overhead involved, encrypting things like images on the other hand will. If you have something like <img src="/image.jpg"> in your page, and the page is downloaded using https, then that's going to direct the browser to download the image from https://domain/image.jpg which will encrypt the transfer. If you reference all your images like <img src="http://domain/image.jpg"> on a page called using https then you'll get the "this page displays secure and non secure items" dialogue popping up.

Only use https where you need to.

Edited by malcolmswaine

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...