eramgarden
Well-known member
- Joined
- Mar 8, 2004
- Messages
- 579
Been reading about Authentication against SQL Server and finally found this site:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000010.asp
We have sql server database, each user has a Login (my manager doesnt want to use Windows Authentication). Login page has "user id" and "password". Then I need to authenticate the user against the SQL database based on that userID/password..
That site shows a connection string with userid and password, then makes a select to Pubs database. It says : must include the user name and password of the database user
But I have like 100 database users with Logins. And I dont know their passwords anyway. then how can I use the SQL Server authentication? Should I be building the connection string dynamically in the code with their userid and password...instead of having a connection string in the web.config?
Just really lost! and Im sure its not that hard..
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000010.asp
We have sql server database, each user has a Login (my manager doesnt want to use Windows Authentication). Login page has "user id" and "password". Then I need to authenticate the user against the SQL database based on that userID/password..
That site shows a connection string with userid and password, then makes a select to Pubs database. It says : must include the user name and password of the database user
But I have like 100 database users with Logins. And I dont know their passwords anyway. then how can I use the SQL Server authentication? Should I be building the connection string dynamically in the code with their userid and password...instead of having a connection string in the web.config?
Just really lost! and Im sure its not that hard..