SqlClient Permission

Adds a SqlClientPermission to the project. Enables the .NET Framework Data Provider for SQL Server to help make sure that a user has a security level sufficient to access a data source.

Recipe Description

The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.


Name Description
Allow Blank Password Optional Boolean. Gets a value indicating whether a blank password is allowed.
Unrestricted Optional Boolean. If Unrestricted is true, the value of Permission Level will be ignored.


  • Torsten Mandelkow

Version history

  • 1.0 Initial Recipe