nayaread
HomeFavouritesTopicsSources
HomeFavouritesTopicsSources
NayaRead links to original engineering blogs. All copyright belongs to the respective authors.
Shopify Engineering·Nov 23, 2010·5 min read42

Session Hijacking Protection - Shopify

There’s been a lot of talk in the past few weeks about “Firesheep”, a new program that lets users hijack other users’ accounts on many different websites. But there’s no need to worry about your Shopify account — we’ve taken steps to ensure your account can’t be hijacked and your data is safe. Firesheep is a Firefox plugin (a program that integrates right into the Firefox browser) that makes it easy to perform HTTP session cookie hijacks when using an insecure connection on an untrusted network. This kind of attack is nothing new, but Firesheep makes it dead simple and shows how prevalent it is. The attack consists of stealing cookie data over an untrusted network and using that data to log in to other people’s user accounts. Many websites that you use daily, including Shopify, are susceptible to this kind of attack. Naturally we reacted to this by taking measures to ensure that this can’t happen to our users. All of your Shopify admin data is now fully secure, encrypted, and protected from Firesheep attacks. Technical Details The only way to ensure that cookie data, or any data sent over HTTP for that matter, is not been spied upon is end-to-end encryption. Currently the solution for this is SSL. Last week we made the switch to all SSL in the Shopify admin area. This has been applied to all URLs and all subscription plans. This means that any request made to Shopify will be forced to use SSL for secure encryption. But this is not quite enough to ensure that cookie data is not hijacked. By default HTTP cookies are sent over secured, as well as unsecured, connections. Without taking the extra step to secure the HTTP cookie as well, your session is still vulnerable. The Problem In Shopify’s case we weren’t able to use SSL for all traffic on the site. There are two main areas to Shopify, the shop frontend and the shop backend. In

Frontend
Read original on shopify.engineering

Score breakdown

  • Technical depth58
  • Practical value30
  • Originality85
  • Writing quality87
  • Source reputation0
  • Recency0
  • External engagement0
  • On-site engagement0

NayaRead shows a summary and links to the original article. The full article is hosted on shopify.engineering.

More like this

Dropbox Tech

Testing cookie behavior across hundreds of web surfaces with our in-house auditor

Yasmin McDowell +1 other·Aug 31, 2026·9 min read
The Cloudflare Blog

When scanners miss the attack: how Cloudflare Client-Side Security protects storefronts

Juan Miguel Cejuela·27 days ago·20 min read
Shopify Engineering

Let’s Encrypt x Shopify: Securing the Web 4.5 Million Domains at a Time - Shopify

Jun 24, 2021·7 min read
Shopify Engineering

Building Shopify’s Application Security Program - Shopify

Apr 26, 2019·8 min read