Hi,
I have a Java Applet that uploads batches of files to the web server. It
works fine, except if the IIS server is not set to Anonymous Access (i.e. only
Integrated Windows Authentication), the process fails. The Java console
indicates the error as it not being authorized to write to the folder. Well
this all makes sense, but I was wondering if there is any way to include the
JAR file for this applet with ColdFusion and use CFAPPLET or something similar
to allow it to access the Windows Authenticated web server the same way that CF
normaly does. I hope this makes sense.
Bottom line, I want to know if I can use CF and CFAPPLET to somehow make this
applet somehow have rights to be able to write to the NT Authenticated server
just like ColdFusion normally does.
Thanks
cf.Objective - 30 Sep 2005 11:14 GMT
Docs for cfNTAuthenticate:
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000301.htm
Docs for cfapplet
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000216.htm
Based on the docs, you could use cfNTAuthenticate and cflogin to auth a user
to the NT domain, then use cfapplet in a form to upload your files.
So the short answer is yes, it should work. Not having done it or tested it, I
can't predict any of the gotchas or issues you may face along the way... but
the functionality is certainly there to do exactly what you are wanting to do.
Laterz!
J
boogenhaagen - 30 Sep 2005 15:52 GMT
Thank you for the reply! I thought this might be a route to take. I will test to see what comes out of it.
Cheers
Ben