?
?
?
?
数据库加密:
http://blog.csdn.net/u012992506/article/details/25283035
?
create
master
key
encryption
by
password=‘[email protected]‘
?
backup
master
key
to
file=‘d:\smk.bak‘
encryption
by
password=‘[email protected]‘
?
?
?
open
master
key
decryption
by
password=‘[email protected]‘
?
?
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);
?
?
?
?
时间: 2024-09-30 07:36:43