In April 2017, Jacob Henning asked "What are the chances that AES-256 encryption is cracked?" and part of his question was how best the transmitted data, now in his web database, a.k.a. "data at rest" might be protected.

Hence my question:

What is the best way to protect data on a server after it has been "safely" transmitted over a communication line?

  • One method I've read a little about is tokenization. Could tokenization work? Ref: en.wikipedia.org/wiki/Tokenization_(data_security) – Robin Maybury Jun 19 at 18:58
  • 1
    Tokenization is sort of the zen of protection: you protect the confidentiality of data by not having confidential data to store. It isn't about keeping data confidential, it's about defending against misuse of an asset. What do you mean by “protect data on a server”, anyway? What threats are you concerned about? – Gilles Jun 20 at 6:09
  • Thanks Gilles, If we think about the recent thefts of Credit Card data or the data stolen from Equifax, as I understand it, that data was "in the clear" = once you have the data, you don't need anything to decrypt it. Thus, what I'm driving at is how Jacob Henning might have protected his website data once it was on his server. One method I believe could work for that is tokenization. – Robin Maybury Jun 21 at 22:20
  1. Why are you using AES-256 at all? You encrypt information to protect it. Does it make sense to use a particular algo, it if you think it is cracked?
  2. If you are not sure about particular algo, pick up another one you trust to, ChaCha, ThreeFish, etc.
  3. Once you transmit anything via network, you should expect that an attacker has a copy of it. Does it make any sense to protect it after transmitting?
  4. Token can be used as a reference to the data. But to get the data, you have to decrypt the encrypted data completely. Suppose you have an encrypted 100 MB file and want that your partner reads this document. Token will not help. Your partner will have to download this encrypted 100 MB file and decrypt it.
  • 1. I'm not restricting my data encryption to just the AES-256 algo. It could be another better algo. I agree. I wouldn't use an algo I don't trust. 2. Agreed. 3. If the data in motion, that transmitted, is encrypted and only I and the intended recipient have the private key, the attacker cannot unlock the data - can they? 4. Suppose I keep the original data behind my firewall. I tokenize it, then transmit, using a strong algo to the receiving server and push that result behind the remote firewall and then, and only then, de-tokenize it...surely the tokenized data is only of value to me? – Robin Maybury Jun 21 at 22:29
  • 3. What you mean by "private key"? There is no public, no private key. There is just a single key. 4. What you mean by "I tokenize it"? Token is just a unique identifier that refers your data. The simplest tokenization can mean that you just generate a UUID. transmit, using a strong algo - you don't need any algo to transmit it. Token is not secret. * de-tokenize it* - what you mean? Token is just an identifier, it is not encrypted message. E.g. for the data set of 100MB you may have a token of 5 letters. What will you "de-tokenize" from these 5 letters? – mentallurg Jun 22 at 7:05
  • Back to your original question: How can I protect AES-256 encrypted data? Either you trust it or not. If you trust, you don't need any "protection". Just use an algo you trust to, and you don't need any "protection". – mentallurg Jun 22 at 8:27
  • Thanks @mentallurg. Do you have any understanding then of why these guys, [comforte] (comforte.com/enterprise-data-protection), are promoting tokenization as part of their data protection strategy? – Robin Maybury Sep 12 at 20:30
  • I suppose you don't understand what tokenization is and you don't understand my answers above. It is not a secret solution. It has been used since 20 year or more. An HTTP session ID is an example of a tokenization. An ID in many single-sign-on solutions is an example of tokenization. In some solutions even file name can be a token. The guys you mention are not promoting tokenization. They are promoting their software that is using tokenization. – mentallurg Sep 13 at 6:55

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.