ColdFusion 9.0 Resources |
Getting the user ID and passwordThe cflogin tag has a built-in cflogin structure that contains two variables, cflogin.username and cflogin.password, if the page is executing in response to any of the following:
You use the first three techniques with application authentication, and the last technique with web server authentication. The cflogin structure provides a consistent interface for determining the user’s login ID and password, independent of the technique that you use for displaying the login form. Important: Login forms send the user name and password
without encryption. Basic HTTP authentication sends the user name
and password in a base64-encoded string with each request; this
format can easily be converted back to plain text. Use these techniques
only with https requests, or when you are not concerned about password security.
Provide login information to your application for authentication as follows: |