Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cffileupload IIS Windows Integrated Authentication

Guest
Jun 08, 2012 Jun 08, 2012

I have a site that is using WIA on IIS7. The SWF object in cffileupload does not use the browser's security to connect to the server. The object is getting 401 errors when it calls the upload page. All this code works as expected on my local box which does not have WIA.

This should either be noted in the documentation or logged as a bug.

858
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 08, 2012 Jun 08, 2012

Does the username used to start and run ColdFusion on the server have rights to the directory in question? I suspect that is the reason it is bombing. Not sure I would consider it a bug.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 08, 2012 Jun 08, 2012
LATEST

Yes, the CF user has access to the directory. Otherwise, none of the code would run.

I have looked at the HTTP being generated by the Flash object and compare it with what the browser is sending. The Flash object does not pass NLM authentication. It passes no authentication - hence the 401 error. The browser passes NLM authentication with every call - hence, no 401 error.

This is either a bug or a feature depending on how Adobe decides to call it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources