LDAP
Functions
- EncodeForLDAP()
Encodes the given string for safe output in LDAP queries.
- ESAPIEncode()
Deprecated legacy function. Use context-specific functions (e.g., encodeForHTML) instead.
- GuardEncode()
Deprecated legacy function. Use context-specific functions (e.g., encodeForHTML) instead. Encodes data for a specific output context. This is a vital defense against Cross-Site Scripting (XSS) and injection attacks by ensuring characters are treated as data rather than executable code.
Tags
- <cfldap>
Provides an interface to LDAP Lightweight Directory Access Protocol directory servers like the Netscape Directory Server.
Methods
- string.encodeForLDAP()
Encodes the given string for safe output in LDAP queries.