Adobe 38043740 User Guide - Page 95

Disabling Remote Development Services

Page 95 highlights

ADOBE COLDFUSION 8 91 Installing and Using ColdFusion Disabling Remote Development Services If you use Adobe Dreamweaver, Macromedia HomeSite, Adobe Flex Builder, or Eclipse to develop your applications, you can access a remote ColdFusion server using HTTP. However, you must configure Remote Development Services (RDS) in your integrated development environment (IDE), and RDS must be enabled in ColdFusion. 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, Adobe recommends that you disable RDS on a production server. To disable it, you must disable the RDSServlet mapping. 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 in 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: RDSServlet /CFIDE/main/ide.cfm --> 4 Save the file. 5 Restart ColdFusion. RDS is disabled on the ColdFusion server. For more information, see "Managing ColdFusion services in Windows" on page 76, or "Managing the ColdFusion process in UNIX" on page 77.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

91
ADOBE COLDFUSION 8
Installing and Using ColdFusion
Disabling Remote Development Services
If you use Adobe Dreamweaver, Macromedia HomeSite, Adobe Flex Builder, or Eclipse to develop your applica-
tions, you can access a remote ColdFusion server using HTTP. However, you must configure Remote Devel-
opment Services (RDS) in your integrated development environment (IDE), and RDS must be enabled in
ColdFusion. 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, Adobe recommends that you disable RDS on a production server. To disable it, you
must disable the RDSServlet mapping.
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 in 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="coldfusion_mapping_9">
<servlet-name>RDSServlet</servlet-name>
<url-pattern>/CFIDE/main/ide.cfm</url-pattern>
</servlet-mapping>
-->
4
Save the file.
5
Restart ColdFusion.
RDS is disabled on the ColdFusion server.
For more information, see “Managing ColdFusion services in Windows” on page 76, or “Managing the
ColdFusion process in UNIX” on page 77.