86
CFMODULE Attributes
Attribute
Template
Name
Attributes
Securing Custom Tags
ColdFusion's security framework enables you to selectively restrict access to individual
tags or to tag directories. This can be an important safeguard in team development.
To avoid name conflicts, you can register custom tags as a security resource on the
ColdFusion Administrator Advanced Security page. See Administering ColdFusion
Serverfor details.
Encoding Custom Tags
You can use the command-line utility
template. By default, the utility is installed in the
especially useful for securing custom tag code before distributing it.
cfencode
cfencode infile outfile [/r /q] [/h "message"] /v"2"
Description
Required if the NAME attribute is not used. Specifies a relative path to
the cfm file. Same as TEMPLATE attribute in CFINCLUDE. Note that the
directory must have a mapping defined in ColdFusion Administrator
Example:
<CFMODULE TEMPLATE="../MyTag.cfm">
custom tag file in the parent directory.
Required if Template attribute is not used. Use period -separated
names to uniquely identify a sub-directory under the Custom Tags
root directory.
Example:
<CFMODULE NAME="Allaire.Alive.GetUserOptions">
identifies the file
Tags\Allaire.Alive
directory.
Optional. You can list the custom tag's attributes.
uses the following syntax:
Developing Web Applications with ColdFusion
in
GetUserOptions.cfm
directory under the ColdFusion root
to encode any ColdFusion application
cfencode
/cfusion/bin
identifies a
Custom
directory. It is
Need help?
Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?