Have you ever thought that the information security of a product starts at the design stage? To many designers, this may sound weird, but it is true.
Product designers lay the foundation for the security of users’ accounts, personal data, and money. Of course, information security (IS) is not their sole responsibility; the majority of issues spring up during development. But if a designer fails to foresee potential pitfalls, developers will likely fail to properly handle them.
This article is far from being a comprehensive guide on how to avoid all possible IS flaws and wrong decisions during product design. All projects are unique, after all. I just want to show you how you should think and what IS-related questions you should ask yourself and developers while designing a digital product.
It all starts with scenarios. Sign up, sign in, and password reset. Payments, adding credit cards, and balance top-ups. Editing profile data, adding new employees, and data export. Those are just a handful of potentially vulnerable scenarios. And every project has lots of such scenarios. If you think that doing as others do is enough, I’ve got bad news.
Take an authorization verification scenario. If a designer fails to thoroughly think it through, spell it out in detail in the design specs, or draw a respective screen, the chances that the developers will forget about important edge cases are very high.
You should never forget to look at every scenario from the security standpoint. If in doubt, discuss it with the development team.
Let’s take the classic one: password reset.
The scenario is pretty simple. A user:
What screens would a designer make for this scenario? Assume that we’re dealing with a pro, who thinks not only of the default screens but also of all possible states, like errors, for instance. Our pro understands that when the user sends the form, the server can be down. Or that the user can enter an invalid email address. And that we should display a message about sending a reset link.
Thus, we get three groups of screens:
Okay, what’s next?
The screens pass to development. Assume that we have a regular developer, who does the job strictly according to the task without much thinking. And that is just a typical scenario, nothing to worry about.
But it’s not all that simple, in fact. Imagine that the user has passed through the scenario and reset their access, but the reset link has leaked to a (malicious) third party. This can happen in many ways, but we’ll narrow it down to the most popular one: a compromised free Wi-Fi hotspot.
As a rule, hackers do not monitor such spots in real-time. They just collect “useful” data and analyze it from time to time (generally, in a semi-automatic mode) to decide how they can make use of it. They can sell it to other interested parties or take over certain user accounts themselves.
How? By simply following the link, they can change the password, log into the account, and then do whatever they want: change the associated email address, steal money, delete content, etc.
To protect your users from such a sad experience, all you need is to limit the link validity period, say, to 24 hours.
The designer just adds one more branch to the scenario and draws one more screen with the “obsolete link” message. The developer adds a couple of lines to the code.
As for the users, hardly anyone will ever see any difference. Most of them will use the link within several minutes after the password reset request. But you can be sure that their accounts will be much safer now.
Another vulnerable area that a product designer should take care of is data and the way it is sent, received, and displayed within a product.
If you think that data capture and exchange and all the related stuff is the developers’ playground, I’d recommend that you google “data design.” If you really want to create quality, user-friendly, scalable, and secure products, at least some basic knowledge of data design is a must.
However, if you strip off all the technicalities and nuances of data design, you come to the same personal data displayed within a product: emails, phone numbers, credit cards, internal user IDs, last activity dates, etc.
Any data displayed in the user interface must pass through the “can it do any harm?” filter.
We’ve been hearing about thousands of compromised user accounts of well- and not-so-well-known services every once in a while. Very often, the reason for such serious issues becomes a tiny bit of sensitive data heedlessly exposed to the outer world.
A couple of years ago, a fintech company leaked over 50 thousand users’ accounts. The story was quickly hushed up, but a group of enthusiasts managed to conduct their own investigation.
According to their findings, the users of the service could share their data with other users via links that led to sort of digital business cards. Technically, everything looked good: URLs did not include user IDs, only lengthy personal hashes.
The same hashes (associated with certain users) were also used in the API. However, they were still useless if you didn’t know the internal ID of the hash owner. And that is where the designers of the service kindly helped the hackers: they put the internal user ID right into the corner of the shared business cards. Why? Noone could explain. But that was enough to compromise the service.
The solution is as clear as day. Do not expose vulnerable data, especially when there’s absolutely no need for it.
If you do need to show an ID, use a random set of characters instead. Just tell the developers that they should be unique for all entities.
Stick to functional design. It lets you thoroughly study all the scenarios and edge cases. Do not neglect data design since data won’t protect itself on its own. Think twice before exposing data to the outer world.
About the author:
Pavel Sherer, IT producer, product designer, analyst
Lunacy’s latest release comes with new features designed to speed up your workflow and a…
Sometimes there is just no time to wait for a professional designer to make your…
Graphic designers use dynamics and movement to make their work more exciting. It can help…
Design should not feel sham. It should reflect a real-world experience, with a lot of…
New AI-based routine killer from the Icons8 team for those who need to edit images…
Freelance designers are exposed to a range of cybersecurity threats on a daily basis. Here’s…