RE: Folder Permission
That was my next suggestion after my initial disappointment of the loss of cfimpersonate... If you are windows try CACLS http://windows.about.com/library/tips/bltip164.htm Patrick McGeehan Applications Developer DIT #mcg# -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 1:27 PM To: CF-Talk Subject: Re: Folder Permission Couldn't you use cfexecute lo execute a batch or shell command HTH Dick On Sep 9, 2004, at 7:22 AM, Tangorre, Michael wrote: > 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]
Re: Folder Permission
Couldn't you use cfexecute lo execute a batch or shell command HTH Dick On Sep 9, 2004, at 7:22 AM, Tangorre, Michael wrote: > 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]
RE: Folder Permission
> 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. I'm pretty sure that the CFIMPERSONATE tag is not available in CFMX. I do miss it a bit. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Folder Permission
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 #mcg# -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]
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]