| Single User Access Login |
Login is essential in any secured applications. Normally, you have to either purchase a stand alone Login component or write one yourself to integrate into the particular application. Tornado offers two levels of integrated Login support - PoorMan and DB style. Once the dbLogin property is defined, the Login/Logout action is activated. This example illustrates the PoorMan style in which ID+Password list is stored in a text file file. The DB version uses a DB source to control the logins and is easily an application by itself at the expense of this 1 lines of code (.dbLogin). Putting in ID+Passwords in the aspx file is as secure as the aspx file itself.
Note: This Login is a Single User Access Login. That means, you cannot login more than once.
Poorman Login
|
<!--T_Login_1.aspx--> <script
language="vb" runat="server"> |
The Poorman style implementation is a quick way to secure an application. The password list can be stored in the aspx file or in an external file.