Gregory's Blog

Posts made on April 2025

Getting the Clients IP Address Using Lucee and ColdFusion

Getting the Clients IP Address Using Lucee and ColdFusion


As a long-term ColdFusion developer, I have used CGI environment variables for the last twenty years to extract IP addresses and client variables. However, in this day and age, getting the IP address is much more complex and is no longer a trivial issue. 
Read More...
Bypassing ColdFusion and Lucees Global Script Protection When Designing a Content Management System

Bypassing ColdFusion and Lucees Global Script Protection When Designing a Content Management System


ColdFusion and Lucee's Global Script Protection is designed to discourage cross-site scripting attacks by replacing scripts and other potentially harmful tags in forms before sending the data to the server. However, sometimes, this can get in the way, especially when trying to develop a content management system.
Read More...