Mike,


I think the easiest way to do would be to do cfdirectory (action = ""> that is enclosed in a cfimpersonate tag.  If the record count is 0 then
the user doesn't have permissions.  if it is 2 or more (entries for '.'
and '..') then they have at least read permissions.  Remember, if you
haven't used cfimperosnate before, that the user will have to have
rights to log on as a batch job and act as OS.


Patrick

Patrick McGeehan

Applications Developer

DIT

<CF_DIT>#mcg#</CF_DIT>

-----Original Message-----
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 10:23 AM
To: CF-Talk
Subject: Folder Permission

Is there anyway using ColdFusion to check if a person has access to a
specific folder on the webserver.
Our security model is strucutred around ActiveDirectory so the users
network ID, email, alias, etc is all available, and I am wondering if
there is a way to say...

if user has permissions to folder x, allow, else, throw error.

Thanks!

Mike
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to