Cloud encryption: balancing security and functionality needs
- Published: Thursday, 04 May 2017 09:27
Anurag Kahol examines the problems faced by cloud encryption solutions and discusses how to achieve data protection without sacrificing cloud app functionality.
The growing popularity of public cloud applications has fundamentally changed the way many businesses operate, but it has also created a number of previously unseen data security and compliance issues. This is because many of the most popular cloud applications provide very little visibility or control over how sensitive data is handled once in the cloud. Instead, users are expected to simply trust that their data is being kept secure. Of course, many IT departments are overjoyed with this approach because it takes a significant amount of stress out of operationalising business applications. However, for security teams it has the opposite effect. Without control over and visibility into cloud apps, it is hard to ensure that corporate data really is secure. This has led security teams to focus on implementing encryption techniques to attempt to shore up protection of cloud data.
The primary driver for cloud encryption is the need to ensure that if intellectual property, trade secrets or regulated data such as customer payment card information are lost in a breach, the information cannot be viewed. For others, data residency concerns or policies that require control of encryption keys lead them to encryption. In apps like Salesforce, this data exists as structured data, whereas in file sharing apps such as Box it is unstructured. In both cases, the most commonly used tool for encryption is a cloud access security broker (CASB).
Encrypting data in the cloud can be tricky
CASBs mediate connections between cloud apps and the outside world via a combination of proxies and API connectors to applications. In doing so, they create a focal point of visibility and control for cloud applications in use, with controls taking the form of data loss prevention, contextual access control and all importantly, encryption of cloud data at rest.
Unfortunately, using a CASB for encryption is not without its challenges. In order to preserve application functionality after data is encrypted, some CASBs actually reduce the strength of the encryption. When data is encrypted, the application is unable to read the encrypted data and therefore loses the ability to do anything with it. The Search function is perhaps the best example of this. If a customer file is encrypted and a sales person attempts to search for it, the application would not be able to read the file and therefore the search function would be broken. Reducing the encryption strength allows a CASB vendor to ‘crack’ its own encryption in order to allow critical functions like search.
These functionality issues can seriously impede the productivity benefits of adopting cloud applications in the first place. And so, some CASBs ‘solve’ the issues by limiting the strength of the cryptographic algorithm used. Of course, in doing so, it severely impairs the overall effectiveness of the encryption, making data much more vulnerable. This has left many businesses with a difficult trade-off between lost functionality or sub-optimal security, neither option being particularly appealing.
Solving the security and functionality trade-off
The latest development in cloud encryption is one that takes a ‘split index’ approach to searching cloud-based data, which gives businesses the best of both worlds. When first deployed, API connections are used to analyse cloud applications in use, identify sensitive data and let the business decide exactly what it wants to encrypt. The CASB will then replace all sensitive data with copies that have been encrypted. The business retains control over the encryption keys in this scenario. The encrypted data can then be stored in the cloud app or on premises. In the latter case, the only thing stored in the cloud application is an encrypted pointer to where the data lies in the local data store.
The split index approach preserves search by moving the search functionality from the app to the CASB. As data is encrypted, an encrypted local search index is generated on premises, with pointers to the encrypted data associated with the relevant keywords in the index. When a user searches for data, the search query is executed against this local index, returning all of the associated pointers to the CASB. It then searches the application for those pointers and retrieves the encrypted files or records, decrypting the data for the user on the fly.
From there, sensitive data is divulged on a need-to-know basis. Because it’s encrypted in the app, it’s not readable by prying eyes such as the rogue cloud vendor employee or the occasional over-reaching government entity. Even within the business, access is provided by policy, giving the security team complete control over who can access what and when. Using cloud encryption in such a way also allows an organization to get ahead of the upcoming GDPR regulations.
For many businesses, data security headaches are causing security teams to resent public cloud applications. Cloud encryption offers a solution, but businesses shouldn’t have to make a difficult choice between app functionality and data security. The split index approach to encryption will allow businesses to enjoy all the benefits of public cloud applications, while giving security teams full control and visibility of the data, ensuring it remains secure at all times.