Hi, I want to create a login page with several users(passwords), how do I do that?
Where are these hard coded info ? If I want to store the user and password information in the database, do I have to put in the same database as the data? Thanks a lot. J Michelle
On the Security options tab select Username and password from database option. Select database table that holds passwords. Select username and password fields. This table should be in the same database. Best regards,
Sergey Kornilov
5000396/23/2003
Thanks for the reply. I have read from somewhere saying that it is not safe to put username/password info in the same place as the data. Is that possible to put the username/password info outside of webserver when using ASPrunner? With ASPRunner, is that possible to have several users as hardcoded? Thank.
admin6/23/2003
Hi, personally I don't think that separating data and passwords will be more secure than have then stored in the same place. However that can be easily done with ASPRunner.
First of all run ASPRunner and generate ASP pages. Use Username and password from database security option.
Open login.asp in Notepad or any other text editor. Go to lines 34-37.
Set rs = server.CreateObject ("ADODB.Recordset")
set dbConnection = server.CreateObject ("ADODB.Connection")
dbConnection.ConnectionString = strConnection
dbConnection.Open
Replace strConnectionwith another connection string pointing to another database or to another database server.
Sample connection string can be found in include/dbconnection.aspfile. I hope this helps. Best regards,