AdobeStock_455007340

Simple NT/IIS Authentication

Need to authenticate users (forcing them to login and validating their password)? If you are using NT (or Win2K) and IIS, and your users have network accounts, then here’s a really easy (and safe) way to perform authentication. Simply prevent anonymous access to the files or directory structure to be protected – this will force NT throw up a login screen forcing the user to specify a valid NT login name and password. Once authenticated you can find out the user login name be looking at the CGI.AUTH_USER variable. (Applies to: ColdFusion All)

Leave a Reply