Besides user security, another aspect of security is data security. The best way to understand data security is using an example. Let's consider your money is stored in a bank. The bank has to make sure that the money is not only secure while stored in the bank, but also while it is moving between different branches in a van. This brings two types of data security:
- Data security while data is at rest
- Data security while data is in motion or transit