Friday, November 23, 2007

Disable RDS in Coldfusion MX

Whenever we install a software, we hardly bothers to look at each of the presented options/components to decide which one to select or deselect and either we select whatever it prompts for or we opt not to deselect the default selected components. Later if you really use the software, you come across many bottlenecks in the performance because of the laxity you exercised during installation. The same I experienced when I installed Coldfusion and later I had to uninstall RDS because of secrity breach on the machine because of RDS installtion.

If you use Macromedia Dreamweaver MX or Macromedia HomeSite+ to develop your applications, you can access a remote ColdFusion MX 7 server using HTTP. However, you must configure Remote Development Services (RDS) in your integrated development environment (IDE), and RDS must be enabled in ColdFusion MX 7. Using RDS, IDE users can securely access remote files and data sources, build SQL queries from these data sources, and debug CFML code.

Note: The ColdFusion Report Builder uses RDS for the Query Builder and for charting support.

However, for security reasons, Macromedia recommends that you disable RDS on a production server. To disable it, you must disable the RDSServlet mapping.

To disable the RDSServlet mapping:

  1. Back up the web.xml file.

    This file is in the cf_root\wwwroot\WEB-INF directory in Windows and in the cf_root/wwwroot/WEB-INF directory on UNIX. In the multiserver and J2EE configurations, this file is under cf_webapp_root/WEB-INF.

  2. Open the original web.xml file for editing.
  3. Comment out the RDSServlet mapping, as the following example shows: <!-- <servlet-mapping id="macromedia_mapping_9"> <servlet-name>RDSServlet</servlet-name> <url-pattern>/CFIDE/main/ide.cfm</url-pattern> </servlet-mapping> -->
  4. Save the file.
  5. Restart ColdFusion MX 7.

    RDS is disabled on the ColdFusion MX 7 server.

For more information, see Starting and stopping services for Windows, or Managing the process for UNIX.


6 comments:

Anonymous said...

The author of www.somnathbharti.com has written an excellent article. You have made your point and there is not much to argue about. It is like the following universal truth that you can not argue with: One of the funniest things you can do is pack yourself into a suitcase. You will hardly be able to contain yourself. Thanks for the info.

Anonymous said...

I want to thank the blogger very much not only for this post but also for his all previous efforts. I found www.somnathbharti.com to be extremely interesting. I will be coming back to www.somnathbharti.com for more information.

Anonymous said...

www.somnathbharti.com is the best. Thank your for this article. I enjoyed it very much.
AAA Toronto Payday Loans 1172 Bay St #101, Toronto, ON M5S 2B4 (416) 477-2817

Fitness Tips said...

your post is nice, informative & helpful for everyone. thanks for sharing.

macromedia dreamweaver

itechnologytips said...

niceeeeeee & informative post. thanks for sharing.

weight loss diet

md imran uddin said...

Really interesting blog John and I love the redirect after posting my first comment! Very smart and definitely appreciated…
car insurance