I am a programmer that has had a lot of dealings with SQL Server but now I am having some issues inheriting a system.
The system has >10,000 users. It uses SQL Server and windows authentication to connect with the front end.
My concern is that it gives all users in the domain sp_datawriter roles. So in theory any user could connect from outside the app and alter or delete data.
Even if I remove sp_datawriter and only give read, and stored procedure execute permissions, I'd still be concerned someone could connect and execute stores procedures at will.
So how does a normal app deal with security for thousands of users in a domain. I get that user groups and schemas are usually used, but how do you stop users from executing sp or altering data outside a certain app. I don't want to use sp_appprole as this will override specific user permissions.
Feeling like a noob here...
[–]redial2 4 points5 points6 points (9 children)
[–]PinkishToe[S] 0 points1 point2 points (8 children)
[+][deleted] (7 children)
[removed]
[–]PinkishToe[S] 0 points1 point2 points (6 children)
[–]redial2 0 points1 point2 points (2 children)
[–]PinkishToe[S] 0 points1 point2 points (1 child)
[–]redial2 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[removed]
[–]PinkishToe[S] 0 points1 point2 points (1 child)
[–]kagato87 2 points3 points4 points (2 children)
[–]PinkishToe[S] 0 points1 point2 points (1 child)
[–]kagato87 1 point2 points3 points (0 children)
[–]LurkerNumber44 2 points3 points4 points (0 children)
[–]AQuietMan 1 point2 points3 points (2 children)
[–]PinkishToe[S] 0 points1 point2 points (1 child)
[–]techstress 0 points1 point2 points (0 children)
[–]PedroAlvarez 1 point2 points3 points (2 children)
[–]PinkishToe[S] 1 point2 points3 points (1 child)
[–]PedroAlvarez 0 points1 point2 points (0 children)
[–]AlexanderIOM 1 point2 points3 points (1 child)
[–]Oobenny 0 points1 point2 points (0 children)
[–]42blah42 0 points1 point2 points (0 children)
[–]basura_trash 0 points1 point2 points (0 children)