Database Page, Project Designer
This page applies only to SQL Server Projects.
To access this page, with a SQL Server project node selected in Solution Explorer, from the Project menu, choose Properties. When the Project Designer appears, click the Database tab.
The following table describes the permission sets specified by each permission level on the Database page. Permission sets are sets of code access permissions granted to the assembly when accessed by SQL Server.
Code access security
Execute + access to external resources
Programming model restrictions
Ability to call native code
SAFE (the default) is the most restrictive permission set. Code executed by an assembly with SAFE permissions cannot access external system resources such as files, the network, environment variables, or the registry.
EXTERNAL_ACCESS enables assemblies to access certain external system resources such as files, networks, environmental variables, and the registry.
UNSAFE enables assemblies unrestricted access to resources, both within and outside an instance of SQL Server. Code running from within an UNSAFE assembly can call unmanaged code.
For more information on these settings, see the PERMISSION_SET argument in Create Assembly (Transact-SQL) and the "SQL Server Permission Sets" section in SQL Server Programming and Host Protection Attributes.