![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
i created a "dbo.user_login(username, password)" function. and created two users "admin" and "loginguest" in sqlserver. "admin" user can see and do all jobs in sqlserver. but "loginguest" cannot see tables, views, procedures etc. "loginguest" can just call "dbo.user_login" function (even cannot redesign the function) if username and password information provided is accepted by the function (matching a user in the "appusers" table) it returns admin user password and some user information to the caller. shortly, application will open a session with loginguest, get password for admin, close session and the real user will login into sqlserver with admin user. |
#3
| |||
| |||
|
|
Is this a two-tier or three-tier application? That is, is there a middle- tier running on a separate server, or are users connecting directly from their workstations? |
#4
| |||
| |||
|
|
our application is a two tier application between fat clients and a completely dummy database server (wat i mean is; all calculations and requirements are done on client machine, server just saves the given data and queries it) but i want to redesign all the application and database with the best approach (with a "+1" tier maybe). |
|
for the login structure, would it be possible to change the sqlserver user, without dropping the session? |
![]() |
| Thread Tools | |
| Display Modes | |
| |