The System Security Officer sets the system encryption password using sp_encryption. The system password is specific to the database where sp_encryption is executed, and its encrypted value is stored in the sysattributes system table in that database.
sp_encryption system_encr_passwd, ‘password’
The password specified using sp_encryption can be up to 64 bytes in length, and is used by Adaptive Server to encrypt all keys in that database. You need not specify this password to access keys or data.
The system encryption password must be set in every database where encryption keys are created.
The System Security Officer can change the system password by using sp_encryption and supplying the old password.
sp_encryption system_encr_passwd, ‘password ‘[ , ‘old_password’]
When the system password is changed, Adaptive Server automatically reencrypts all keys in the database with the new password.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |