Hello everyone,
I get a bit confused with setting permissions for my database. I am using Windows Authentication and a C++ front end app is connecting to a SQL 2005 database. Basically, in my front end, the initial user (who must be an Administrator of the connecting computer), creates a database on the server by attaching an 'empty shell' of the entire database. Then, this user is added as a login and as a user of the newly attached database.
I'm confused on whether or not I should make this user a sysadmin user. They don't need to be, but since the user has Administrative rights on the computer, and we are connecting using Windows Authentication, then doesn't that give them the ability to go in and make themselves a sysadmin using SQL Server Management Studio.
The bottom line is that I want each user to have the following rights: sp execute, create and alter views, and backup database. I do this when I create the user (using GRANT ...). I don't want to give them the ability to manually open tables and change table structures or change table data.
Thanks for any feedback.
I get a bit confused with setting permissions for my database. I am using Windows Authentication and a C++ front end app is connecting to a SQL 2005 database. Basically, in my front end, the initial user (who must be an Administrator of the connecting computer), creates a database on the server by attaching an 'empty shell' of the entire database. Then, this user is added as a login and as a user of the newly attached database.
I'm confused on whether or not I should make this user a sysadmin user. They don't need to be, but since the user has Administrative rights on the computer, and we are connecting using Windows Authentication, then doesn't that give them the ability to go in and make themselves a sysadmin using SQL Server Management Studio.
The bottom line is that I want each user to have the following rights: sp execute, create and alter views, and backup database. I do this when I create the user (using GRANT ...). I don't want to give them the ability to manually open tables and change table structures or change table data.
Thanks for any feedback.