Howto Require SSL for ColdFusion Administrator
A good security practice is to require SSL for ColdFusion administrator access (an even better practice is to limit access to localhost). This should only take less than five minutes on either Apache or IIS.
Require HTTPS on Apache 2
<Location /CFIDE/administrator> SSLRequireSSL </Location>
Just add the above to your
httpd.conf file, just make sure it appears below
LoadModule ssl_module. Restart Apache, and you should get a 403 Forbidden response on
http and it should work over
https. I tested this on Apache 2.2, I think it should work on prior versions as well, but I have not tested them.
Require HTTPS on ISS
- Open up IIS Manager Console
- Right click on the
- Click Directory Security Tab
- Under Secure Communications click Edit
- Enable Require secure channel (SSL)
Like this? Follow me ↯Tweet Follow @pfreitag
You might also like:
- Is your ColdFusion Administrator Actually Public? - April 28, 2010
- New HackMyCF Features - October 24, 2013
- Changing the ColdFusion CFIDE Scripts Location - January 10, 2011
- Locking Down ColdFusion Presentation Slides - August 4, 2010
- Fixinator and Foundeo Security Bundle - May 14, 2019
- CFSummit 2016 Slides - October 17, 2016
- HackMyCF Adds SSL/TLS Scanner - May 27, 2015
- Scope Injection in CFML - March 3, 2015
@Michael check out http://www.adobe.com/devnet/coldfusion/articles/cf7_security_04.html for info on locking down the CF admin in IIS (including limiting it to localhost). The article is for CF7 but I have tested it with CF8.
And you et an account on Twitter?