Howto Require SSL for ColdFusion Administrator

October 23, 2009
coldfusion

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

  1. Open up IIS Manager Console
  2. Right click on the CFIDE/administrator/ directory
  3. Click Directory Security Tab
  4. Under Secure Communications click Edit
  5. Enable Require secure channel (SSL)


Related Entries

2 people found this page useful, what do you think?

Comments

How do you limit access to ColdFusion Administrator to just localhost?
Does anyone have information on IP spoofing protection in general and specifically for IIS 6? For example trying to reach a page that IIS limits to 127.0.0.1 or 192.168.1.X

@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.
I want to quote your post in my blog. It can?
And you et an account on Twitter?
@Olz - Yes you may quote my article on your blog as long as you link back to the article in your post. My account on twitter is: http://twitter.com/pfreitag (not sure if that's what you were asking)
For IIS 7 another setting presents itself. Which setting should be selected for optimal security?

After "Select Require SSL – Click apply"

A question here is for Client certificates –

Ignore is least secure (default) – does not require clients to verify their identity before gaining access to content

Accept – accept client cert (if provided) & to verify client identity before allowing access to content

Require – requires cert to verify client identity before allowing access to content
You can also just remove the admin directory when its not in use, restoring it when you need to access it - anyone see any problems with this?

Post a Comment




  



Spell Checker by Foundeo

Recent Entries



foundeo


did you hack my cf?