coldbox-security-implementation

Configure CBSecurity authentication, authorization, and firewall rules for ColdBox apps.

1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ColdBox/skills --skill coldbox-security-implementation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coldbox-security-implementation
Source: https://github.com/ColdBox/skills/tree/main/security/security-implementation
Command: npx skills add https://github.com/ColdBox/skills --skill coldbox-security-implementation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CBSecurity implementation provides a complete security layer for ColdBox apps, covering authentication, authorization, firewall rules, and security event handling to protect routes and data.

Core Features & Use Cases

  • Configure authentication services, firewall rules, and security events to enforce access control across ColdBox apps.
  • Define rules and validators to enforce role-based and permission-based access for handlers, interceptors, and events.
  • Audit and safety: Log security events with LogBox, enforce HTTPS, and manage secrets via environment variables.

Quick Start

Configure a CBSecurity setup with authenticationService, firewall rules, and a basic SecurityInterceptor to protect routes.

Frequently Asked Questions about coldbox-security-implementation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure authentication and firewall rules in a ColdBox application?

Configure authentication and firewall rules in ColdBox by defining a CBSecurity layer with authentication services, event interceptors, and rule validators to enforce access control across API and UI routes. This protects handlers and data.

What is the best way to enforce role-based access control for ColdBox handlers?

Enforce role-based access control for ColdBox handlers by defining CBSecurity rules and validators. The framework manages permission-based access for handlers, interceptors, and events across your web application.

How does CBSecurity handle password hashing and security event logging?

CBSecurity handles password hashing using BCrypt and logs security events via LogBox. This combination ensures passwords are securely encrypted and all security-related activities are audited.

Can I protect both API and UI flows using a single ColdBox security interceptor?

Yes, you can protect both API and UI flows using a single ColdBox security interceptor. CBSecurity applies firewall rules and access control across both types of application flows simultaneously.

Does ColdBox security enforcement support HTTPS and environment variable secrets?

ColdBox security enforcement supports HTTPS enforcement and manages secrets via environment variables. CBSecurity provides these audit and safety features to ensure secure configuration and request protection.

Why do I need a firewall for ColdBox routes and what does it protect against?

A ColdBox firewall protects routes by intercepting requests and validating access rules before they reach handlers. It prevents unauthorized access to events and secures application data from malicious requests.