Forums: [SOLVED] Login - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

[SOLVED] Login Rate Topic: -----

#1 Guest_J Michelle_*

  • Group: Guests

Posted 23 June 2003 - 12:17 PM

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
0

#2 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 15080
  • Joined: 03-February 03

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
Best regards,
Sergey Kornilov
0

#3 Guest_J Michelle_*

  • Group: Guests

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.
0

#4 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 15080
  • Joined: 03-February 03

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.

Quote

Set rs = server.CreateObject ("ADODB.Recordset")
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
0

#5 Guest_J Michelle_*

  • Group: Guests

Posted 25 June 2003 - 10:27 AM

Thanks. I will try it.
0

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked