Microsoft® Codename Trust Services Samples

The samples provided here are for use with the SQL Azure Lab - Microsoft Codename Trust Services, an application-level encryption framework that can be used to protect sensitive data.
  • Note:There are multiple files available for this download.Once you click on the "Download" button, you will be prompted to select the files you need.

    Lab Samples

    File Name:

    Date Published:


    File Size:

    9 KB

    302 KB

    171 KB

    10 KB

    3 KB

    4 KB

    78 KB

    25 KB

    51 KB

    18 KB

      Microsoft Codename Trust Services is an application-level end to end encryption-based framework that can be used to encrypt stored content. Data publishers can use Trust Services to encrypt data before it is stored in Windows Azure storage or SQL Azure, and authorized subscribers of data can decrypt data after it is read from storage. Using Trust Services encrypts the data, and helps reduce concerns about unauthorized access to data by Windows Azure administrators and/or unauthorized third parties. Using Trust Services helps address data security, privacy, and sovereignty issues that might block or limit typical scenarios, such as distributing data to branch offices, making data accessible to mobile employees or customers, sharing data across businesses, and leveraging cloud scale for computation and analytics. The samples provided here showcase multiple scenarios using Microsoft Codename Trust Services to protect sensitive data.

      Learn how to use Microsoft Codename Trust Services by following these samples.

      SSIS Sample
      A sample that shows how to integrate Trust Services into SSIS workflows.
      Search and Retrieve Encrypted Files
      A sample application that demonstrates the use of searchable policies and hashing feature to build a search index on encrypted files.
      ASP.NET Trust Sample
      A sample Web application that allows to experience the roles and to tune encryption and authorization policies.
      Config Encryption Sample
      A sample that demonstrates how Trust Services can be used to encrypt config files.
      Copy SQL Database
      Application that copies a SQL Server table(s) from one database to another, while encrypting and decrypting columns containing sensitive data.
      Encrypt Windows Azure Blob Store
      A sample interactive demo application that demonstrates an end-to-end scenario, from defining data policies to encryption of the data using Trust Services SDK.
      School Report
      A sample Windows Forms application embedding a ReportViewer based on a DataSet retrieved from an untrusted SQL instance. This sample demonstrates how to use Trust Services SDK to decrypt data read from untrusted SQL database.
      Encrypt Files
      A sample application that demonstrates Data Publisher and Data Consumer roles by encryption of two sample files using Trust Services SDK.

      Encrypt Files
      A sample script that encrypts all files recursively in a directory using Trust Services SDK PowerShell snap-in.
      Generate Policy Template
      A set of PowerShell scripts that allow generating a policy template for all the columns of a SQL Server database and adding the policies to Trust Services after the template is updated by Trust Services Policy Administrator.

      For detailed instructions, go to Trust Services Samples
  • Supported Operating System

    Windows 7, Windows Server 2008 R2

      • Windows Server 2008 R2 x86 or x64
      • Windows 7 x86 or x64
      • .Net 4.0 Framework
        • Download for .Net 4.0 Framework (Full) can be found here.
    • Click the download button to start the download. Select one of the following:
      • To open the file immediately, Click Open.
      • To save the file on your computer, click Save.
      • Click cancel if you do not wish to continue with the download.
Site feedback

What category would you like to give web site feedback on?

Rate your level of satisfaction with this web page today: