Setting Security
The data provider supports Encrypted Network Communications, also known as wire encryption, on connections (see Table 27 for more information on encryption settings). By default, the data provider reflects the server's setting.
The level of encryption allowed by the data provider depends on the encryption module used. With the default encryption module, the data provider supports 40-, 56-, and 128-bit encryption.
Data encryption may adversely affect performance. See the "Performance Considerations" section in the data provider chapter for more information.
In addition to encryption, the PSQL ADO.NET Data Provider implements security through the security permissions defined by the .NET Framework.
Code Access Permissions
The data provider requires the FullTrust permission to be set in order to load and run. This requirement is due to underlying classes in System.Data that demand FullTrust for inheritance. All ADO.NET data providers require these classes to implement a DataAdapter.
Security Attributes
The data provider is marked with the AllowPartiallyTrustedCallers attribute.