Hi there,
Im writing a large application that will connect to an SQL server. It will run Stored Procedures that sit on the server. My question is about users.
When people generally write applications like this. Do they create a generic user to actually login to the sql server, and like hardcode that user into the application/connection string. then define their own users/roles and what they can access within their application.
Or....
Actually create users in SQL aswell as users in their application.
If this is the case, is there an easy method of making your own application update the main SQL users database when you add users? or are you forced to do this via Enterprise Manager everytime someone new comes along?
Any response gratefully appreciated.
Im writing a large application that will connect to an SQL server. It will run Stored Procedures that sit on the server. My question is about users.
When people generally write applications like this. Do they create a generic user to actually login to the sql server, and like hardcode that user into the application/connection string. then define their own users/roles and what they can access within their application.
Or....
Actually create users in SQL aswell as users in their application.
If this is the case, is there an easy method of making your own application update the main SQL users database when you add users? or are you forced to do this via Enterprise Manager everytime someone new comes along?
Any response gratefully appreciated.