小试SQL SERVER 2014 加密备份

?

?

?

?

数据库加密:

http://blog.csdn.net/u012992506/article/details/25283035

?

create master key encryption by password=‘P@ssw0rd‘

?

backup master key to file=‘d:\smk.bak‘

encryption by password=‘P@ssw0rd‘

?

?

?

open master key decryption by password=‘P@ssw0rd‘

?

?

CREATE CERTIFICATE BackupCertificater

?

WITH SUBJECT = ‘Backup Encryption Certificate‘;

?

GO

?

?

BACKUP DATABASE Test TO DISK =‘d:\Test_Encrypted.bak‘WITH COMPRESSION, ENCRYPTION (ALGORITHM = AES_256, SERVER CERTIFICATE = BackupCertificater);

?

?

?

?

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。