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
Page 1 of 1
[SOLVED] Login
#2
Posted 23 June 2003 - 12:52 PM
Hi,
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.
Best regards,
Sergey Kornilov
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.
Best regards,
Sergey Kornilov
Best regards,
Sergey Kornilov
Sergey Kornilov
#3 Guest_J Michelle_*
Posted 23 June 2003 - 01:43 PM
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.
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.
#4
Posted 23 June 2003 - 11:26 PM
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.
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.
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.
Best regards,
Sergey Kornilov
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.
Quote
Set rs = server.CreateObject ("ADODB.Recordset")
set dbConnection = server.CreateObject ("ADODB.Connection")
dbConnection.ConnectionString = strConnection
dbConnection.Open
set dbConnection = server.CreateObject ("ADODB.Connection")
dbConnection.ConnectionString = strConnection
dbConnection.Open
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.
Best regards,
Sergey Kornilov
Best regards,
Sergey Kornilov
Sergey Kornilov
Page 1 of 1