Introduction
Last updated
Was this helpful?
Last updated
Was this helpful?
This module will provide your application with a security rule engine.
Lucee 4.5+
ColdFusion 9+
Just drop into your modules folder or use CommandBox to install
box install cbsecurity
You will then need to configure the interceptor via the cbsecurity
settings in your main ColdBox.cfc
or you can also declare the interceptor manually by leveraging the class: cbsecurity.interceptors.Security
. If you define the cbsecurity
settings, then the module will load the interceptor automatically for you with those settings.
You can find all the documentation here:
Security rules can come from xml, json, query, memory or custom locations. You will find some examples in this module's config
folder.
Below are the security settings you can use for this module. Remember you must create the cbsecurity
struct in your ColdBox.cfc
:
Here is a sample declaration you can use in your ColdBox.cfc
: