We want to implement the Always Encrypted feature for our application database. There is a table with a varbinary(max)
column which is storing binary data of images, pdf documents, etc.
- Does the Always Encrypted feature support
varbinary(max)
column encryption? - If yes, how to do I implement it using SQL Server 2016?
Any support is greatly appreciated.
Best Answer
The limitations are listed here and do not mention
VARBINARY(MAX)
.https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine
The way to do this when the feature first came out was:
https://justdaveinfo.wordpress.com/category/always-encrypted/
It is easier now though either via:
SSMS https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/configure-always-encrypted-using-sql-server-management-studio
Powershell https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/configure-always-encrypted-using-powershell