You could create two collections; one with permissions and one without.
Use the CF_PATHINDEX tag to exclude the directories for unauthorized access.
If the authorized files in the directory are mixed with unauthorized files,
create list of files that require authorization and loop through the
cfsearch output to check for this.
-----Original Message-----
From: Belfiori, Ross [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 11:38 AM
To: CF-Talk
Subject: RE: Verity and Security.. ??
But, what if the secure data is not in a table, but documents. Don't the
custom fields only work when indexing against a database?
Ropo
-----Original Message-----
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 2:07 PM
To: CF-Talk
Subject: RE: Verity and Security.. ??
Absolutely brilliant!! I wish I had thought of that, much thanks.
At 04:29 PM 03/05/2001 +0000, you wrote:
> > ColdFusion is set up to handle security, which means that
> > user's sign in
> > via a web form. A userID is cross-referenced with the table data and
> > before showing any 'secure' data, the system checks to make sure the
> > current user has access to it.
> >
> > If I create a verity collection with all data, is there a way to
> > prevent 'unauthorized' results from showing up in the search? They
won't
> > be able to get to the page, because clicking the link will
> > redirect them if
> > they are unauthorized, but it would be much nicer if I didn't
> > show the link at all.
>
>Put the security requirements into one of the Custom fields in Verity, then
>before you display the link, decide if they're able to get to the page
>
>Philip Arnold
>Director
>Certified ColdFusion Developer
>ASP Multimedia Limited
>T: +44 (0)20 8680 1133
>
>"Websites for the real world"
>
>**********************************************************************
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>**********************************************************************
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists