Chapter 11: Indexing and Searching Data
181
•
Delete
(when used as a CFINDEX ACTION) — Deletes the specified KEY value,
or comma-separated values, from the collection.
•
Delete
(when used on the Administrator Verity page or in CFCOLLECTION) —
Deletes the entire collection.
•
Update
— Re-populates the collection with changed records and new records
and adds a key if one is not part of the collection. This operation does not delete
records that have been deleted from the data source. To update a collection
from the Administrator Verity main page, select a collection on the list, click
Index, then click Update on the index page.
•
Refresh
(CFINDEX ACTION only) — Deletes all data and re-populates the
collection.
Securing a collection
A couple of possible scenarios for restricting access to a Verity collection are:
•
The ColdFusion Administrator may need to specify developer access to
collections.
•
A public site may need to limit user access to collections.
To restrict access to a collection, follow these steps:
1.
Open the Advanced Server Security page of the ColdFusion Administrator and
click the Use Advanced Server Security box.
2.
Click the Security Contexts button.
3.
Enter a name for the secured collection and click Add.
4.
Optionally enter a description for the secured collection.
5.
Click Collections on the Enable Security for Resource Types list.
6.
Click Apply.
You can then develop an appropriate authentication interface to allow access to the
secured collection.
Summary of Contents for COLDFUSION 4.5-DEVELOPING WEB
Page 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Page 14: ...xiv Developing Web Applications with ColdFusion...
Page 26: ...xxvi Developing Web Applications with ColdFusion...
Page 34: ...8 Developing Web Applications with ColdFusion...
Page 70: ...44 Developing Web Applications with ColdFusion...
Page 84: ...58 Developing Web Applications with ColdFusion...
Page 114: ...88 Developing Web Applications with ColdFusion...
Page 148: ...122 Developing Web Applications with ColdFusion...
Page 174: ...148 Developing Web Applications with ColdFusion...
Page 208: ...182 Developing Web Applications with ColdFusion...
Page 244: ...218 Developing Web Applications with ColdFusion...
Page 274: ...248 Developing Web Applications with ColdFusion...
Page 288: ...262 Developing Web Applications with ColdFusion...
Page 300: ...274 Developing Web Applications with ColdFusion...
Page 350: ...324 Developing Web Applications with ColdFusion...
Page 362: ...336 Developing Web Applications with ColdFusion...