C
ChiWhiteSox
Hi this may be a simple design question, not sure...
i have a web app that needs to be logged in to our domain and eventually
will access our sql 2005 which also on the domain using win authentication.
1. how do u typically setup the users on the sql machine? can we setup
different DB roles and assign users to that role? we dont want to setup
individual users on the sql machine. We also dont want to setup a global user
to be used for all the departments. We need to setup an audit trail per user
login on the DB.
2. What connection string would u use now on your web config file?
3. How would u now write the code to authenticate a user?
(ex: MYDOMAIN\John Purutong)
would it be something like:
connection = SqlConnection("Server=Adiamor;Integrated
Security=SSPI;Database=Bookstore;");
connection.Open();
i have a web app that needs to be logged in to our domain and eventually
will access our sql 2005 which also on the domain using win authentication.
1. how do u typically setup the users on the sql machine? can we setup
different DB roles and assign users to that role? we dont want to setup
individual users on the sql machine. We also dont want to setup a global user
to be used for all the departments. We need to setup an audit trail per user
login on the DB.
2. What connection string would u use now on your web config file?
3. How would u now write the code to authenticate a user?
(ex: MYDOMAIN\John Purutong)
would it be something like:
connection = SqlConnection("Server=Adiamor;Integrated
Security=SSPI;Database=Bookstore;");
connection.Open();