Create a protected directory on the server that is only accessible to users
logged in to a particular group that you create on the NT box, say
'AccessGroup', using coldfusion you can dynamically create users on the NT
system using the following example:
http://support.microsoft.com/support/serviceware/iis/iis40/e9zui3abh.asp
You can log in people using the cf NT authentication process (see the
manual) and viola.. all the resources are protected via NT security, which
is about the best you can do using an NT box...
This is the proper way to do it, but personally your recomendation to use
cffile would probably be what i would do for a low budget project.
Regards,
Javier
> -----Original Message-----
> From: Peter Janett [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 2:56 PM
> To: CF-Talk
> Subject: Protecting a directory w/non CF files on Win2k
>
>
> I need to duplicate a password protected directory, from an
> account that
> used to use UNIX with .htaccess.
>
> I was planning to do a check of cookies, sessions, etc in
> application.cfm,
> but that won't work to protect file formats such as Excel an
> PowerPoint. I
> had the idea to store the Excel and Power Point files in a no
> web accessible
> folder, and have CF output them with <CFFILE, which would
> give me password
> protection, but I'm concerned that may be very inefficient,
> and wonder if
> there is a better way.
>
> I should note, I need to automate the username and password
> creating process
> with CF, so doing it by hand through the IIS admin is not a
> good solution.
>
> Any help, resources, etc. appreciated,
>
> Peter Janett
>
> New Media One Web Services
> ================================
> WEB HOSTING FOR WEB DEVELOPERS
> ================================
> Sun, IRIX, Windows 2000, Linux;
> PHP, MySQL, Perl, Cold Fusion,
> MS SQL, ASP, SSI, SSL
> http://www.newmediaone.net
> [EMAIL PROTECTED]
> (303)828-9882
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists