Design Pattern: Security – Data Encryption

Context: After applying Sensitive Data Encapsulation, all sensitive data is gathered in a known place in the database. This makes it possible to apply further protection best practices.

Problem: If any non-authorized actor manages to get access to a copy of the database, the sensitive data is immediately available in clear-text.


  • Accessibility: anyone who managed to steal a copy of the database can at once read the sensitive information.

Solution: Encrypt sensitive data. Dynamics NAV offers a simple mechanism for data encryption, to be used by NAV developers.


Read more on NAV Design Patterns wiki site…

By Bogdana Botez at Microsoft Development Center Copenhagen