Data security
The obligation is to ensure personal data are processed in a manner that provides for appropriate security, including protection against unauthorised or unlawful processing and against accidental loss, destruction or damage.
You have to use appropriate technical and organisational measures to achieve that data security. Where an organisation’s computer systems are hacked, it is usually as a result of a failure to meet this obligation.
To support data security, the GDPR also restricts transfers of personal data outside the EU and requires a whole raft of provisions to be included in any contract under which personal data are processed by one organisation on behalf of another. This requirement applies to all contracts in force beyond 25 May 2018 (irrespective of whether they were entered into before or after that date).