Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Disallow specifying username/login in URL.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 8.3 Yes Yes Yes Yes Yes
MBS( "CURL.SetOptionDisallowUserNameInURL"; curl; Value )   More


Parameter Description Example value
curl The CURL session handle. $curl
Value The option value.
Can be 1 to disable or 0 to enable.


Returns OK or error.


Disallow specifying username/login in URL.
The value 1 tells the library to not allow URLs that include an username.

Having password and username in the URL is a bad idea as you tell every proxy server your secret and the URLs appear on all proxy and the final web server right in the log files.

See also DISALLOW_USERNAME_IN_URL option in CURL manual.


Enable passwords in the URL:

MBS( "CURL.SetOptionDisallowUserNameInURL"; $curl; 1 )

Blog Entries

Release notes

Created 11st July 2018, last changed 5th October 2018

CURL.SetOptionDirListOnly   -   CURL.SetOptionEGDSocket

Feedback: Report problem or ask question.

MBS Xojo Plugins