When using the value DontSaveSensitive, if sensitive information is contained in a package, this sensitive information is not saved. This is the default value.
For all values, sensitive information is defined as:
-
The password portion of a connection string. However, if you choose an option that encrypts everything, the entire connection string will be considered sensitive.
-
The task-generated XML nodes that are tagged with the Sensitive attribute.
-
Any variable marked with the Sensitive attribute.
If you have sensitive information in a configuration file, you should save it to Microsoft SQL Server, or use an access control list (ACL) to secure the location or folder. For more information, see Creating Package Configurations.
For more information on setting package protection levels, see Setting the Protection Level of Packages.
Encryption is done by using two methods. The Microsoft Data Protection API (DPAPI), which is part of the Cryptography API (Crypto API), is used for the protection levels of EncryptAllWithUserKey and EncryptSensitiveWithUserKey. The TripleDES class is used for the protection levels of EncryptAllWithPassword and EncryptSensitiveWithPassword.
For more information, see TripleDES Class in the .NET Framework Class Library.