# ConnectionSecurityMode

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ConnectionSecurityMode/

Connection security modes.

- **Full name:** `MFiles.ConnectionSecurityMode`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-CONNECTION_SECURITY_MODE_UNSPECIFIED"></a>`CONNECTION_SECURITY_MODE_UNSPECIFIED` | 0 |   |
| <a id="v-CONNECTION_SECURITY_MODE_NONE"></a>`CONNECTION_SECURITY_MODE_NONE` | 1 |   |
| <a id="v-CONNECTION_SECURITY_MODE_ENCRYPTED"></a>`CONNECTION_SECURITY_MODE_ENCRYPTED` | 2 |   |
| <a id="v-CONNECTION_SECURITY_MODE_ENCRYPTED_IF_BUILTIN_KEY_AVAILABLE"></a>`CONNECTION_SECURITY_MODE_ENCRYPTED_IF_BUILTIN_KEY_AVAILABLE` | 3 |   |

<a id="used-in-fields"></a>

## Used in fields

- [`VaultConnectionInfo.connection_security_mode`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultConnectionInfo/index.md#f-connection_security_mode): Connection security mode. Overrides dwMinimumAuthenticationLevelIfNormalRPC if specified.
