# ColdBox Security

## v1.x

- [Introduction](https://coldbox-security.ortusbooks.com/master-4/master.md)
- [Overview](https://coldbox-security.ortusbooks.com/master-4/untitled.md)
- [How It Works](https://coldbox-security.ortusbooks.com/master-4/home.md)
- [Declaring the Interceptor](https://coldbox-security.ortusbooks.com/master-4/first-chapter.md)
- [XML Properties](https://coldbox-security.ortusbooks.com/master-4/first-chapter/xml-properties.md)
- [JSON Properties](https://coldbox-security.ortusbooks.com/master-4/first-chapter/json-properties.md)
- [DB Properties](https://coldbox-security.ortusbooks.com/master-4/first-chapter/untitled.md)
- [IOC Properties](https://coldbox-security.ortusbooks.com/master-4/first-chapter/ioc-properties.md)
- [OCM Properties](https://coldbox-security.ortusbooks.com/master-4/first-chapter/ocm-properties.md)
- [Security Rules](https://coldbox-security.ortusbooks.com/master-4/untitled-1.md)
- [Sample JSON Rules](https://coldbox-security.ortusbooks.com/master-4/untitled-1/sample-json-rules.md)
- [Sample XML Rules](https://coldbox-security.ortusbooks.com/master-4/untitled-1/sample-xml-rules.md)
- [\_securedURL key](https://coldbox-security.ortusbooks.com/master-4/_securedurl-key.md)
- [Default Security](https://coldbox-security.ortusbooks.com/master-4/default-security.md)
- [Custom Security Validator Object](https://coldbox-security.ortusbooks.com/master-4/custom-security-validator-object.md)

## v2.x

- [Introduction](https://coldbox-security.ortusbooks.com/v2.x-3/readme.md)
- [Release History](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history.md)
- [What's New With 2.15.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.15.0.md): 2021-DEC-10
- [What's New With 2.14.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.14.0.md): 2021-OCT-07
- [What's New With 2.13.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.13.0.md): 2021-SEP-
- [What's New With 2.12.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.12.0.md): 2021-MAR-29
- [What's New With 2.11.x](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.11.x.md): 2021-MAR-10
- [What's New With 2.10.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.10.0.md): 2021-FEB-12
- [What's New With 2.9.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.9.0.md): 2020-DEC-11
- [What's New With 2.8.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.8.0.md): 2020-NOV-09
- [What's New With 2.7.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.7.0.md): 2020-SEP-14
- [What's New With 2.6.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.6.0.md): 2020-JUL-22
- [What's New With 2.5.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.5.0.md): 2020-APR-03
- [What's New With 2.4.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.4.0.md): 2020-APR-02
- [What's New With 2.3.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.3.0.md): 2020-MAR-30
- [What's New With 2.2.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.2.0.md): 2020-FEB-12
- [What's New With 2.1.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.1.0.md): 2019-OCT-02
- [What's New With 2.0.0](https://coldbox-security.ortusbooks.com/v2.x-3/intro/release-history/whats-new-with-2.0.0.md): 2019-SEP-25
- [About This Book](https://coldbox-security.ortusbooks.com/v2.x-3/intro/about-this-book.md)
- [Author](https://coldbox-security.ortusbooks.com/v2.x-3/intro/author.md)
- [Installation](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/installation.md)
- [Overview](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/overview.md): In this page you will find a thorough overview of the capabilities of the ColdBox Security module.
- [Configuration](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/first-chapter.md)
- [Rule Sources](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/first-chapter/rule-sources.md)
- [DB Rules](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/first-chapter/rule-sources/untitled.md)
- [Inline Rules](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/first-chapter/rule-sources/inline-rules.md)
- [JSON Rules](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/first-chapter/rule-sources/json-properties.md)
- [Model Rules](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/first-chapter/rule-sources/model-rules.md)
- [Module Rules](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/first-chapter/rule-sources/module-rules.md)
- [XML Rules](https://coldbox-security.ortusbooks.com/v2.x-3/getting-started/first-chapter/rule-sources/xml-properties.md)
- [Authentication Services](https://coldbox-security.ortusbooks.com/v2.x-3/usage/authentication-services.md): ColdBox security can work with ANY authentication service provider.
- [Security Rules](https://coldbox-security.ortusbooks.com/v2.x-3/usage/untitled-1.md)
- [Security Annotations](https://coldbox-security.ortusbooks.com/v2.x-3/usage/security-annotations.md)
- [Secured URL](https://coldbox-security.ortusbooks.com/v2.x-3/usage/_securedurl-key.md)
- [Interceptions](https://coldbox-security.ortusbooks.com/v2.x-3/usage/interceptions.md)
- [cbSecurity Model](https://coldbox-security.ortusbooks.com/v2.x-3/usage/cbsecurity-model.md): This object is used to provide you with human, fluent and explicit security authorizations and contexts.
- [secure() Blocking Methods](https://coldbox-security.ortusbooks.com/v2.x-3/usage/cbsecurity-model/secure-blocking-methods.md)
- [Verification Methods](https://coldbox-security.ortusbooks.com/v2.x-3/usage/cbsecurity-model/verification-methods.md)
- [Authorization Contexts](https://coldbox-security.ortusbooks.com/v2.x-3/usage/cbsecurity-model/authorization-contexts.md)
- [Securing Views](https://coldbox-security.ortusbooks.com/v2.x-3/usage/cbsecurity-model/securing-views.md)
- [Cross Site Request Forgery](https://coldbox-security.ortusbooks.com/v2.x-3/usage/cross-site-request-forgery-cbcsrf.md): This feature set is provided by the cbcsrf module.
- [CBAuth Validator](https://coldbox-security.ortusbooks.com/v2.x-3/security-validators/cbauth-validator.md)
- [CFML Security Validator](https://coldbox-security.ortusbooks.com/v2.x-3/security-validators/default-security.md)
- [Custom Validator](https://coldbox-security.ortusbooks.com/v2.x-3/security-validators/custom-security-validator-object.md)
- [JWT Services](https://coldbox-security.ortusbooks.com/v2.x-3/jwt/jwt-services.md)
- [JWT Validator](https://coldbox-security.ortusbooks.com/v2.x-3/jwt/jwt-validator.md)
- [Refresh Tokens](https://coldbox-security.ortusbooks.com/v2.x-3/jwt/refresh-tokens.md)
- [Token Storage](https://coldbox-security.ortusbooks.com/v2.x-3/jwt/jwt-token-storage.md)
- [JWT Interceptions](https://coldbox-security.ortusbooks.com/v2.x-3/jwt/jwt-interceptions.md)

## v3.x

- [Introduction](https://coldbox-security.ortusbooks.com/readme.md): Enterprise-grade security for ColdBox applications with authentication, authorization, JWT, CSRF protection, and comprehensive security headers.
- [Release History](https://coldbox-security.ortusbooks.com/readme/release-history.md): A brief history in time of our major releases
- [What's new With 3.9.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.9.0.md): Unreleased
- [What's new With 3.8.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.8.0.md): September 21, 2026
- [What's new With 3.7.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.7.0.md): January 14, 2026
- [What's New With 3.6.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.6.0.md): 2025-12-08
- [What's New With 3.5.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.5.0.md): What's new with CBSecurity 3.5.0
- [What's New With 3.4.3](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.4.3.md): What's new with CBSecurity 3.4.3
- [What's New With 3.4.2](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.4.2.md): What's new with CBSecurity 3.4.2
- [What's New With 3.4.1](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.4.1.md): What's new with CBSecurity 3.4.1
- [What's New With 3.4.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.4.0.md): June 14, 2023
- [What's New With 3.3.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.3.0.md): March 31, 2023
- [What's New With 3.2.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.2.0.md): March 29, 2023
- [What's New With 3.1.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.1.0.md): 2023-FEB-17
- [What's New With 3.0.0](https://coldbox-security.ortusbooks.com/readme/release-history/whats-new-with-3.0.0.md): January 2023
- [Upgrade to 3.0.0](https://coldbox-security.ortusbooks.com/readme/upgrade-to-3.0.0.md)
- [About This Book](https://coldbox-security.ortusbooks.com/readme/about-this-book.md): A little more info about this book
- [Author](https://coldbox-security.ortusbooks.com/readme/about-this-book/author.md): About our authors
- [Overview](https://coldbox-security.ortusbooks.com/get-started/overview.md): What cbsecurity does and which part of it to reach for.
- [Quickstart](https://coldbox-security.ortusbooks.com/get-started/quickstart.md): Secure your first route in five minutes.
- [Installation](https://coldbox-security.ortusbooks.com/get-started/installation.md): Get up and running with CBSecurity in no time!
- [How the Firewall Works](https://coldbox-security.ortusbooks.com/get-started/how-the-firewall-works.md): How cbsecurity decides if a request can run, and what happens when it cannot.
- [Configuration](https://coldbox-security.ortusbooks.com/get-started/configuration.md): How to configure cbsecurity. Every setting has a default, so only set what you change.
- [Full Configuration](https://coldbox-security.ortusbooks.com/get-started/configuration/full-configuration.md): Every cbsecurity setting with its default value, in one copy-paste block.
- [Authentication](https://coldbox-security.ortusbooks.com/get-started/configuration/authentication.md): Configuring your authentication services
- [Basic Auth](https://coldbox-security.ortusbooks.com/get-started/configuration/basic-auth.md): Configuration for basic authentication
- [JWT](https://coldbox-security.ortusbooks.com/get-started/configuration/jwt.md): JSON Web Tokens configurations
- [Firewall](https://coldbox-security.ortusbooks.com/get-started/configuration/firewall.md): Configuring the security firewall
- [DB Rules](https://coldbox-security.ortusbooks.com/get-started/configuration/firewall/db-rules.md): Security rules from a database
- [JSON Rules](https://coldbox-security.ortusbooks.com/get-started/configuration/firewall/json-properties.md): Security rules in a JSON file
- [Model Rules](https://coldbox-security.ortusbooks.com/get-started/configuration/firewall/model-rules.md): Security rules from a model's method call
- [XML Rules](https://coldbox-security.ortusbooks.com/get-started/configuration/firewall/xml-properties.md): Security rules in an XML file
- [Route Middleware](https://coldbox-security.ortusbooks.com/get-started/configuration/middleware.md): Configure the cbsecurity route middleware and signed URLs.
- [Visualizer](https://coldbox-security.ortusbooks.com/get-started/configuration/visualizer.md): Configuring the CBSecurity Visualizer
- [Security Rules](https://coldbox-security.ortusbooks.com/secure-your-app/security-rules.md): CBSecurity can apply security rules to incoming events.
- [Security Annotations](https://coldbox-security.ortusbooks.com/secure-your-app/security-annotations.md): Security annotations are used to secure your handler and/or handler actions
- [Route Middleware](https://coldbox-security.ortusbooks.com/secure-your-app/route-middleware.md): Secure routes and route groups with cbsecurity middleware, declared right next to the route.
- [Throttle](https://coldbox-security.ortusbooks.com/secure-your-app/route-middleware/throttle.md): Rate limit routes with the Throttle middleware and the RateLimiter model.
- [API Keys](https://coldbox-security.ortusbooks.com/secure-your-app/route-middleware/api-key.md): Protect routes with API keys using the ApiKey middleware.
- [IP Filtering](https://coldbox-security.ortusbooks.com/secure-your-app/route-middleware/ip-filtering.md): Allow or block requests by IP address with AllowedIPs and DenyIPs.
- [Ensure HTTPS](https://coldbox-security.ortusbooks.com/secure-your-app/route-middleware/ensure-https.md): Force HTTPS on routes with the EnsureHttps middleware.
- [Verify CSRF](https://coldbox-security.ortusbooks.com/secure-your-app/route-middleware/verify-csrf.md): Verify CSRF tokens on routes with the VerifyCsrf middleware.
- [Honeypot](https://coldbox-security.ortusbooks.com/secure-your-app/route-middleware/honeypot.md): Catch form spam bots with the Honeypot middleware.
- [Signed URLs](https://coldbox-security.ortusbooks.com/secure-your-app/route-middleware/signed-urls.md): Create tamper-proof, expiring links with signed URLs.
- [Secured URL](https://coldbox-security.ortusbooks.com/secure-your-app/secured-url.md): CBSecurity stores the secured incoming url so you can relocate the user to it after authenticating.
- [Authentication Services](https://coldbox-security.ortusbooks.com/authentication/authentication-services.md): ColdBox security can work with ANY authentication service provider.
- [Basic Authentication](https://coldbox-security.ortusbooks.com/authentication/basic-authentication.md): Basic access authentication is a method for an HTTP user agent (e.g. a web browser) to provide a user name and password when making a request.
- [Auth User](https://coldbox-security.ortusbooks.com/authentication/auth-user.md): CBSecurity comes bundled with a basic authentication User
- [Delegates](https://coldbox-security.ortusbooks.com/authentication/delegates.md): Delegate yourself!
- [JWT Services](https://coldbox-security.ortusbooks.com/jwt/jwt-services.md)
- [JWT Validator](https://coldbox-security.ortusbooks.com/jwt/jwt-validator.md)
- [Refresh Tokens](https://coldbox-security.ortusbooks.com/jwt/refresh-tokens.md)
- [Token Storage](https://coldbox-security.ortusbooks.com/jwt/jwt-token-storage.md)
- [JWT Interceptions](https://coldbox-security.ortusbooks.com/jwt/jwt-interceptions.md)
- [Cross Site Request Forgery](https://coldbox-security.ortusbooks.com/csrf-and-headers/cross-site-request-forgery-cbcsrf.md): This feature set is provided by the cbcsrf module.
- [Security Headers](https://coldbox-security.ortusbooks.com/csrf-and-headers/security-headers.md): Configuring the security response headers and features
- [cbSecurity Model](https://coldbox-security.ortusbooks.com/reference/cbsecurity-model.md): This object is used to provide you with human, fluent and explicit security authorizations, authentication insight, utility and contexts.
- [Authentication Methods](https://coldbox-security.ortusbooks.com/reference/cbsecurity-model/authentication-methods.md): These methods assist a developer in getting insight into the authentication framework.
- [Authorization Contexts](https://coldbox-security.ortusbooks.com/reference/cbsecurity-model/authorization-contexts.md): Create fluent and secure code blocks
- [Blocking Methods](https://coldbox-security.ortusbooks.com/reference/cbsecurity-model/secure-blocking-methods.md): Get outta here!
- [Securing Views](https://coldbox-security.ortusbooks.com/reference/cbsecurity-model/securing-views.md): Secure access to views in ColdBox
- [Utility Methods](https://coldbox-security.ortusbooks.com/reference/cbsecurity-model/utility-methods.md): Get access to several security-focused methods to assist in your security journey.
- [Verification Methods](https://coldbox-security.ortusbooks.com/reference/cbsecurity-model/verification-methods.md): Verify permissions the fluent way!
- [Interceptions](https://coldbox-security.ortusbooks.com/reference/interceptions.md): CBSecurity has many events that you can listen to for an event-driven experience.
- [Auth Validator](https://coldbox-security.ortusbooks.com/reference/auth-validator.md): The auth validator leverages authentication and role-permission-based authorization for you.
- [BasicAuth Validator](https://coldbox-security.ortusbooks.com/reference/basicauth-validator.md): The BasicAuth validator leverages HTTP Basic Authentication for authentication and role-permission-based authorization for you.
- [CFML Security Validator](https://coldbox-security.ortusbooks.com/reference/default-security.md): The CFML Security validator leverages the ColdFusion security functions for authentication and role based authorization.
- [Custom Validator](https://coldbox-security.ortusbooks.com/reference/custom-security-validator-object.md): You can write your own custom validators with CBSecurity


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://coldbox-security.ortusbooks.com/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
