SQLSERVER uses a password to encrypt the backup file to prevent unauthorized restoration of the database

Source: Internet
Author: User
SQLSERVER uses a password to encrypt the backup file to prevent unauthorized restoration of the database. When backing up the database, you can specify a password for the media set, backup set, or both in the backup statement, the backup set password and media password are optional. Use a password to prevent unauthorized use of SQLSERVER tools for restoration and adding backup sets to media

SQLSERVER uses a password to encrypt the backup file to prevent unauthorized restoration of the database. When backing up the database, you can specify a password for the media set, backup set, or both in the backup statement, the backup set password and media password are optional. Use a password to prevent unauthorized use of SQLSERVER tools for restoration and adding backup sets to media

SQLSERVER uses a password to encrypt the backup file to prevent unauthorized restoration of the database

When backing up a database, you can specify a password for the media set, backup set, or both.

In the backup statement, the backup set password and media password are optional. Use a password to prevent unauthorized use of SQLSERVER to perform restoration operations and Add backup sets to media.

If a password is specified, you must also provide a media password to perform these operations.

For more information about media sets and backup sets, see MSDN :( v = SQL .90). aspx

Although the password helps prevent unauthorized access to media content using SQLSERVER, the password cannot prevent the destruction of media content. The password cannot completely prevent unauthorized access to media content,

The reason is that the data in the backup set is not encrypted. Theoretically, you can view the content in the backup file by programs created for this purpose.

For scenarios where security is critical, server space is important to prevent unauthorized individuals from accessing the media.

Note: from SQL Server 2012, the PASSWORD and MEDIAPASSWORD options cannot be used to create a backup; however, you can still restore the backup created with the PASSWORD !!!

The following is an explanation of the MEDIAPASSWORD and PASSWORD options in the backup Statement on MSDN.

1 PASSWORD = {password | @ password_variable} 2. Set the PASSWORD for the backup set. PASSWORD is a string. If a password is defined for the backup set, you must provide the password to perform any SQL Server restore operations on the backup set. 3. However, the backup set password cannot prevent overwriting of the backup file. To prevent overwriting backup files, use media set password 4, which provides low security. It is designed to prevent authorized users or unauthorized users from using SQL Server 2005 tools for incorrect restoration. It is a Hong Kong virtual host, but cannot prevent reading backup data by other means or by replacing the password. The best way to protect backups is to store backup tapes in a secure location, 6 or back up Disk Files protected by the appropriate access control list (ACL. The ACL should be set under the root directory of the backup.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.