Encoding your CFML

By davidjmedlock
We teamed up with SiteGround
To bring you up to 65% off web hosting, plus free access to the entire SitePoint Premium library (worth $99). Get SiteGround + SitePoint Premium Now

…posted by davidjmedlock:

Prompted by a question from another forum member, I decided to look into encoding ColdFusion code.

First off, if you go into your CFIDE/Administrator directory under your CF installation path (i.e. C:CFusionMXwwwrootCFIDEAdministrator), you’ll notice that there is an index.cfm file. That’s right, all of the ColdFusion Administrator is written in ColdFusion. But, wait a second… When I open that file it’s all jibberish. Can’t read a thing in there.

That’s because it’s encoded. If you look in the C:CFusionMXbin directory (or the bin directory of the ColdFusionMX install path) you’ll see a program called “cfencode.exe”. This is what is used to encode the Adminstrator, and you can use it to encode your CFML code. (Like that CMS that you’ve slaved over and don’t want anyone ripping off.)

I don’t have time at this exact moment to write a full tutorial and test it and everything, but here’s an article from the CFHub:

http://www.cfhub.com/tutorials/cfencode/site.cfm

Performing a Google search for “cfencode.exe” will turn up about 76 results that can help in your quest for code protection.

The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
We teamed up with SiteGround
To bring you up to 65% off web hosting, plus free access to the entire SitePoint Premium library (worth $99). Get SiteGround + SitePoint Premium Now
Login or Create Account to Comment
Login Create Account