I'm stuck on Column Encryption
@denis_the_thief wrote: I was going through the examples for SQL column encryption as our Databases do store some sensitive data. I was able to create s Symmetric Key and a Certificate. Then using the...
View ArticleI'm stuck on Column Encryption
@tsites wrote: I'm not 100% but I believe you can see the key and cert info because you created it. MS Docs says "The visibility of the metadata in catalog views is limited to securables that a user...
View ArticleI'm stuck on Column Encryption
@denis_the_thief wrote: tsites: I'm not 100% but I believe you can see the key and cert info because you created it. MS Docs says "The visibility of the metadata in catalog views is limited to...
View ArticleI'm stuck on Column Encryption
@denis_the_thief wrote: Also, does anyone have any idea if the expectation of column encryption is to keep sensitive data away from the developers of the application? For example, weather this is...
View ArticleI'm stuck on Column Encryption
@Kristen wrote: denis_the_thief: keep sensitive data away from the developers of the application Can you restrict access to the PRODUCTION Database / server? We don't have a big enough outfit, or...
View ArticleI'm stuck on Column Encryption
@denis_the_thief wrote: Thankyou! In our world, Developers to have access to Production. However, it is not all Developers, only the ones that developed the Application for that Database. And, they...
View ArticleI'm stuck on Column Encryption
@Kristen wrote: denis_the_thief: SELECT CONVERT(varchar, DecryptByKey(NameEncrypted)) I know it was only an example, but watch out for that default/implicit size on varchar definition (where no...
View ArticleI'm stuck on Column Encryption
@denis_the_thief wrote: Kristen: denis_the_thief: SELECT CONVERT(varchar, DecryptByKey(NameEncrypted)) ... SQL decides that ONE is suitable in some circumstances, and its a nasty side-effect to then...
View ArticleI'm stuck on Column Encryption
@Kristen wrote: DECLARE @TEMP VARCHAR SET @TEMP = REPLICATE('a', 255) SELECT LEN(@TEMP) SELECT LEN(CAST(REPLICATE('a', 255) AS VARCHAR)) CREATE PROCEDURE dbo.TEST01 @bar VARCHAR AS BEGIN SET NOCOUNT...
View ArticleI'm stuck on Column Encryption
@graz wrote: The other big benefit (and challenge) is restoring this database to another server. If that server doesn't have the proper encryption chain, the data can't be decrypted unless you enter...
View Article