I'm wondering if there is a way in ColdFusion 4.5 (or CFMX7) to determine if 
the user has been authenticated by IIS or not, and if so, what the username is 
that they are logged in with?


-Justin Scott

Nothing to do with ColdFusion, but ColdFusion does make it very easy to get.  

For this to work, one has to set the security of the resource (website, 
directory, file) in IIS to use "Windows Integrated Authentication" and equally 
importantly to NOT use "anonymous."  Then when that resource is accessed the 
cgi.Auth_User will be populated with the username of the person logged onto the 
client.

This, of course, assumes a Windows Server, a Windows Client and a Microsoft 
based browser if one does not want any extra login dialog boxes.



--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230128
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to