> I need an app to be able to access network volumes using CFFILE and
> CFDIRECTORY. I know I need to change the user that the Cold Fusion
> process runs under, to one that has these access privileges. How
> exactly do I set this up, and what is are the best set of permissions
> for this user to have as to not compromise security?
When you setup the directory to share on the remote server you can specify
the permissions for each user to access that dir. Simply limit the user
you will be using to log on the cf service to read only or what is
required. The other options are full control and change. To change the
account the cf service uses to fire up go into the services panel via
control panel > admin tools then right click on the cf server and go to
the log on tab.
> Also can I access network volumes using a network path, i.e.
> \\servername\dirname\file.txt , or does the volume need to be mounted
> as a drive letter?
No it does not need to be mounted as long as the account you are using can
also access the remote share with its current password. As of cfmx cffile
can use
\\servername\sharename\file or \\servername\sharename\dir\file, etc
in the file attribute. ie
<cffile action="READ"
file="\\DH017730\projects\test.txt"
variable="sampleText">
I haven't tested it premx.
hth
Rod
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004