Is it necessary to use OS-level file permissions to keep those photos from being shown? I don't know what else you do with these files, but if it's only your CF app accessing and displaying them, you could keep a simple boolean field within a database table that tells you whether or not to show the image.
Jim ----- Original Message ----- From: "Ray Bujarski" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 2:58 PM Subject: Roadblock!! file permissions > I am trying to display a image of employees belonging to a director. > Some of the images exists, some of them don't, some of the images exist > without read permissions due to the employee not wanting their picture shown. > How can test the permissions of this file? FileExist(/photo/11.jpg) > returns true for those without read permissions. > I tried reading the file via cffile, but that doesn't work because it will > just terminate processing. > I tried to jimmy rig the reading by cftry where I set a variable in the > catch. Doesn't work. > I tried to use cfexecute with the ls command (unix os) but it can't > recognize the ls command > > > Ray Bujarski > 858-845-7669 > 858-636-9900 pgr > [EMAIL PROTECTED] ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

