zoukankan      html  css  js  c++  java
  • SSIS2008 无法解密受保护的xml节点 解决方法

    设置包属性 ProtectionLevel ,设置参照下文

    Members

    Member name

    Description

    DontSaveSensitive

    Sensitive information is not saved in the package. The sensitive information is removed and replaced with blanks.

    EncryptAllWithPassword

    Encrypts the entire package by using a password.

    EncryptAllWithUserKey

    Encrypts the entire package by using keys based on the user profile. Only the same user using the same profile can load the package.

    EncryptSensitiveWithPassword

    Encrypts only sensitive information contained in the package by using a password. DPAPI is used for this encryption.

    EncryptSensitiveWithUserKey

    Encrypts the entire package by using keys based on the current user. Only the same user using the same profile can load the package. If a different user opens the package, the sensitive information is replaced with blanks. DPAPI is used for this encryption.

    ServerStorage

    Encrypts the package within a SQL Servermsdb database. This option is supported only when a package is saved to SQL Server. It is not supported when a package is saved to the File System. The access control of who can decrypt the package is controlled by SQL Server database roles. For more information, see Database-Level Roles and sysssispackages (Transact-SQL).

    Remarks

    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.

  • 相关阅读:
    让程序的性能提升10倍
    以正确的姿势实现一棵JavaScript菜单树
    利用php数组函数进行函数式编程
    yum安装下的nginx,如何添加模块,和添加第三方模块
    前端面试题 vue
    前端常用面试题目及答案-HTML&CSS篇
    使用after伪类,配合IE的zoom或者overflow清除浮动
    函数式编程
    在CentOS 7上安装Node.js
    node中__dirname、__filename、process.cwd()、process.chdir()表示的路径
  • 原文地址:https://www.cnblogs.com/coreni/p/2151731.html
Copyright © 2011-2022 走看看