#1 Guest_J Michelle_*
Posted 23 June 2003 - 12:17 PM
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.
Posted 23 June 2003 - 12:52 PM
Here is what you need to do:
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.
#3 Guest_J Michelle_*
Posted 23 June 2003 - 01:43 PM
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?
Posted 23 June 2003 - 11:26 PM
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.
1. First of all run ASPRunner and generate ASP pages. Use Username and password from database security option.
2. Open login.asp in Notepad or any other text editor. Go to lines 34-37.
set dbConnection = server.CreateObject ("ADODB.Connection")
dbConnection.ConnectionString = strConnection
Replace strConnection with another connection string pointing to another database or to another database server.
Sample connection string can be found in include/dbconnection.asp file.
I hope this helps.