CURL.SetOptionKRBLevel
----------------------

Sets the kerberos security level for FTP.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [2.5](newinversion25.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "CURL.SetOptionKRBLevel"; curl; Value { ; Encoding } ) 

**MBS**( **"CURL.SetOptionKRBLevel";** /\* Sets the kerberos security level for FTP. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**; /\* The new security level.e.g. "safe" \*/   
**$Encoding**) /\* Optional; The text encoding for text parameter.   
Default is UTF-8.e.g. "UTF8" \*/ 

(old name: CURL.SetOptionKRB4Level)

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| curl | The CURL session handle. | $curl |  |
| Value | The new security level. | "safe" |  |
| Encoding | The text encoding for text parameter.    Default is UTF-8.   Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the [FAQ](https://www.monkeybreadsoftware.com/filemaker/faq.shtml). | "UTF8" | Optional |

### Result

Returns "OK" on success.

### Description

Sets the kerberos security level for FTP.  
This also enables kerberos awareness. This is a string, 'clear', 'safe', 'confidential' or 'private'. If the string is set but doesn't match one of these, 'private' will be used. Set the string to empty value to disable kerberos support for FTP.  
### See also

- [CURL.SetOptionCRLFile](CURLSetOptionCRLFile.md)
- [CURL.SetOptionReferer](CURLSetOptionReferer.md)
- [CURL.SetOptionResolve](CURLSetOptionResolve.md)

### Release notes

- **Version 16.0**
    - Deprecated [CURL.SetOptionKRBLevel](https://www.mbsplugins.eu/CURLSetOptionKRBLevel.shtml) function as CURL library deprecated that option.

### Blog Entries

- [MBS FileMaker Plugin, version 16.0pr5](https://www.mbsplugins.de/archive/2026-01-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

Created 18th August 2014 , last changed 30th December 2025

  
[CURL.SetOptionIssuerCertBlob](CURLSetOptionIssuerCertBlob.md) - [CURL.SetOptionKeepSendingOnError](CURLSetOptionKeepSendingOnError.md)

[HTML Version](CURLSetOptionKRBLevel.shtml)