Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Only allow user to logon once

Status
Not open for further replies.

TonyF

Programmer
Dec 5, 2000
2
GB
I've developed a VB app which connects to an SQL Server 7.0 database. I'm using SQL Server security (not NT), but I want each user name to be used only once e.g. if user1 is logged on, another user can't login at user1 also.

 
Doesn't that imply the sharing of passwords? Never a good idea.

One would think that the default action of SQL Server would be to deny multiple concurrent logins under same ID.

I'd be interested in more info on this also.


Dave
 
In my doc check, I can't see how you can do this for a SQL Server login (not an NT-type login), absent some elaborate scheme involving stored procedures and grape jelly.

Robert Bradley

 
I think you need some Networking 101
I would not let a person log into the network more than once.
Create a separate user in User Manager for Domains.
Then create a global group and add each user that you want to allow into SQL server.
Then in SQL Server Enterprise Manager assign that group permissions as necessary.



DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top