Hey folks,

I'm in the midst of writing a component that takes as input a unc path i.e.
\\\servername.domain\\dirthis\\dirthat

and produces a list of files and directories based on the credentials *of
the user calling the page* (this will be used in our intranet w/ Windows
authentication).  

So for example, if NA/Esuyer calls
directorylist.cfm?unc=\\\servername.domain\\dirthis\\dirthat, he will see
all the files and directories that he is privy to in that unc path.  If
NA/JDoe calls directorylist.cfm?unc=\\\servername.domain\\dirthis\\dirthat,
she will see al the files and directories that she is privy to.  But this
list may be different then what NA/Esuyer sees.  And most importantly of
all, the CF Service user may not have access to either of these directories.

I don't see anything native to CF that'll allow me to do this ... please
correct me if I'm wrong.  

So my question is this:

1. Can this be done by importanting the java.io.file / oranyotherobject?
Does this object allow for impersonation, or perhaps passing an authorized
user token?

2. If no CF, or Java, is .net my next best option?

3. Oh pretty please, has anyone already written a custom tag or something
for this?

Tanks!

Ed/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to