yup, I know about those. What I am trying to accomplish is to control access
to a folder above the websites root folder on a machine that hosts multiple
sites. The only thing I can think of so far is to use path_translated with
getFileFromPath in the Application.cfm file to find the root. I will know
that the application is installed under the root, what I won't know is how
deep.

I am thinking that if the app was installed directly under the root and a
request to upload a file is made from a directory two levels into my
application I can just back up two levels, problem solved. If the app is
installed in a subdirectory of the root I won't know how many level to back
up to find the root of the web server. I am getting ahead of my self here,
my real concern is I want to allow a developer to browse the server for an
mdb file they have uploaded so that they can supply the path to add a
datasource, I don't want them to be able to add other peoples datasources
above the root of there own web site.

There are we all as confused as I am now?

----- Original Message -----
From: "Ryan Hartwich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 1:59 PM
Subject: RE: [KCFusion] Relative Path?


> Bryan,
>
> Check out the CGI variables by turning on the debugging mode.  Here is
what
> I found under one of my pages:
>
> CF_TEMPLATE_PATH=C:\Development\appclient\App_RM_Screened_Main.cfm
> PATH_INFO=/appclient/App_RM_Screened_Main.cfm
> PATH_TRANSLATED=C:\Development\appclient\App_RM_Screened_Main.cfm
> SCRIPT_NAME=/appclient/App_RM_Screened_Main.cfm
>
> We don't store our source code in the inetpub/wwwroot directories, so it
may
> not show exactly what you want on your system.
>
> Ryan
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Bryan LaPlante
> Sent: Tuesday, December 19, 2000 1:47 PM
> To: [KCFusion List] (E-mail)
> Subject: [KCFusion] Relative Path?
>
>
> Does anyone know if there is any function or tag in CF that will take
> http://hostname/ and return the directory path like c:\inetpub\wwwroot\ ?
>
>
>
> ______________________________________________________________________
> The KCFusion.org list and website is hosted by Humankind Systems, Inc.
> List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
> Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
> To Subscribe.................... mailto:[EMAIL PROTECTED]
> To Unsubscribe................ mailto:[EMAIL PROTECTED]
>
>

 
 
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
 

Reply via email to