Securing A Collection - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

Chapter 11: Indexing and Searching Data
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.
181

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents