Adobe 38043740 Lockdown Guide - Page 80
Disabling Remote CFC Invocation, <servlet-mapping id=coldfusion_mapping_14> - flash 10
UPC - 883919135168
View all Adobe 38043740 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 80 highlights
CFFileServlet /CFFileServlet/* 6.10 Disabling Remote CFC Invocation The CFCServlet is used to serve SOAP web service requests, remote CFC method invocation (eg file.cfc?method=doSomething), AIR synchronization, and flash remoting. If you do not require these features you can change the servlet mappings that point to the CFCServlet to the CFForbiddenServlet. Change the servlet mappings: CFCServlet *.cfc/* CFCServlet *.cfc Change to the following: CFForbiddenServlet *.cfc/* CFForbiddenServlet *.cfc 80
80
<servlet-mapping id="coldfusion_mapping_14">
<servlet-name>CFFileServlet</servlet-name>
<url-pattern>/CFFileServlet/*</url-pattern>
</servlet-mapping>
6.10 Disabling Remote CFC Invocation
The
CFCServlet
is used to serve SOAP web service requests, remote CFC method invocation (eg
file.cfc?method=doSomething), AIR synchronization, and flash remoting. If you do not require these features
you can change the servlet mappings that point to the
CFCServlet
to the
CFForbiddenServlet
. Change the
servlet mappings:
<servlet-mapping id="coldfusion_mapping_8">
<servlet-name>CFCServlet</servlet-name>
<url-pattern>*.cfc/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_4">
<servlet-name>CFCServlet</servlet-name>
<url-pattern>*.cfc</url-pattern>
</servlet-mapping>
Change to the following:
<servlet-mapping id="coldfusion_mapping_8">
<servlet-name>CFForbiddenServlet</servlet-name>
<url-pattern>*.cfc/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="coldfusion_mapping_4">
<servlet-name>CFForbiddenServlet</servlet-name>
<url-pattern>*.cfc</url-pattern>
</servlet-mapping>