zoukankan      html  css  js  c++  java
  • 外部数据源的安全问题

    Excel工作表的外部数据源中,终于不再有连接用户的密码,困扰了好久的Excel Service 的安全问题终于解决了,后面有时间会有详细的说明。
    <odc:Connection odc:Type="OLEDB">
       <odc:ConnectionString>
        Provider=SQLOLEDB.1;
        Integrated Security=SSPI;
        Persist Security Info=True;
        User ID=dataaccesser;
        Initial Catalog=AdventureWorks;
        Data Source=aerbin-sql2005\portal;
        Use Procedure for Prepare=1;
        Auto Translate=True;
        Packet Size=4096;
        Workstation ID=AERBIN-MOSS;
        Use Encryption for Data=False;
        Tag with column collation when possible=False
       </odc:ConnectionString>
       <odc:CommandType>Table</odc:CommandType>
       <odc:CommandText>&quot;AdventureWorks&quot;.&quot;Sales&quot;.&quot;vSalesPersonSalesByFiscalYears&quot;</odc:CommandText>
       <odc:CredentialsMethod>None</odc:CredentialsMethod>
      </odc:Connection>
     </odc:OfficeDataConnection>

    原创内容,转载请注明原作者 by Guobower
    转战ERP领域,欢迎交流,微信:Guobower,QQ:124358678
  • 相关阅读:
    整理一些将窗口显示在前台办法
    工具
    [Windows Api 学习] Error Handling Functions
    Windows实用快捷键
    程序化交易资料汇总
    compile libpng
    zlib 1.2.8 编译笔记
    Cryptopp Usage Note
    linux环境中Java服务通过shell脚本重启(升级)自己
    搭建自己的maven库---nexus
  • 原文地址:https://www.cnblogs.com/bower/p/1112626.html
Copyright © 2011-2022 走看看