Pete Freitag Pete Freitag

Pete Freitag's Homepage

Using Hashicorp Vault with ColdFusion

Hashicorp Vault is an open source, enterprise grade security vault. It is designed to grant secure access to the secrets that it stores. It can also act as an encryption as a service API....

SessionInvalidate for JEE Sessions

The builtin CFML function sessionInvalidate() works great for invalidating or clearing a ColdFusion session (CFID/CFTOKEN). But it doesn't invalidate the underlying J2EE / JEE session (the JSESSIONID)....

Is maxlength necessary in cfqueryparam with timestamps?

Jakob Ward recently posted an interesting question to the CFML slack channel:

Is there a point to setting maxlength for a timestamp value in cfqueryparam? Or can this be ignored safely?...

Java LTS Version Roadmap and Guide

People often download and install the latest version of Java, rather than the latest LTS version of java. In most cases, especially if it is on a server you probably want to be using the LTS version of java....

ColdFusion Summit Fall 2020

Thanks to all who attended my talk today on Securing ColdFusion Applications. You can find the slides here....

One liner to download a Browser with PowerShell on Windows Server

It would be nice if Windows Server 2019 came with Microsoft Edge Browser, but it still comes with good old IE 11, and on a Windows Server, you have to jump through hoops to let IE download anything due to its default security settings....

CFML Left and Right Functions can Accept Negative Counts

Here is a handy trick I saw in some code recently. It turns out you can use a negative integer in the count argument of the left() and right() functions in CFML....

Setting Lucee Admin Password with CommandBox

One of the recent changes to Lucee is that no longer allows you to enter an admin password from the web based lucee admin if one had not been set yet....

Cleaning up Development Disk Space CommandBox

I've been using CommandBox to startup CF servers on my dev laptop and desktop for several years, maybe even since the first version was released! CommandBox does a great job of hiding its internal magic, and thus the amount of disk space it consumes ...

Creating a Symbolic Link with ln -s What Comes First?

One thing I've had to google more times than I'd like to admit is the path argument order for the ln command. What comes first in the ln -s command on linux or Mac? So I thought I'd write a little blog entry for future me to find....

ColdFusion 2020 Developer Week - Securing CF

Yesterday I spoke at the Adobe ColdFusion Developer Week online event. There was a great turnout (several hundred attendees), so my thanks to Adobe and Carahsoft for organizing a great event....

Writing a GitHub Actions Workflow that Uses a Docker Image

When working with Github Actions there are a few different ways to write a workflow yaml that uses a docker image or a docker container....