Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Domain Service Account has db_datareader by mistake Expand / Collapse
Author
Message
Posted Thursday, July 18, 2013 12:36 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Yesterday @ 10:09 AM
Points: 92, Visits: 674
Hello -

Found out that the DBA before me had db_datareader checked for a sensitive database. Now as I understand it that grants Select on all tables within that database. Correct?

This same service account also has a Securables set up to a View I'll call (A). The view is the only thing this Service Account should be able to select and see. View (A) calls up other tables in the same databases as well just as a side note.

My question is if I removed the db_datareader on that Servicve Account will that account now not be able to Select from the underlieing tables?

I hope that makes sense. We are to fix this with breaking the app but wanted to lock down the database.

Regards,
David
Post #1475172
Posted Thursday, July 18, 2013 2:39 PM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, May 13, 2014 2:22 AM
Points: 207, Visits: 427
Yes..data reader access will have select permission on the objects of the database.if you like to give only select permission on views then would have to explicitly give the views select only and public access on the database. So hope this is what you wanted??remove the db_datareader access and give select permission on views with public access to the database.
Post #1475221
Posted Friday, July 19, 2013 6:41 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Yesterday @ 10:09 AM
Points: 92, Visits: 674
Rinu -

Thank you that is what I was looking for.

Regards,
David
Post #1475438
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse