|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 01, 2013 12:25 PM
Points: 22,
Visits: 96
|
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 4:52 AM
Points: 1,397,
Visits: 2,738
|
|
Food for thought, I can see many uses for this.
Thanks
Facts are stubborn things, but statistics are more pliable - Mark Twain Carolyn SQLServerSpecialists
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, May 17, 2012 4:45 AM
Points: 1,
Visits: 4
|
|
It was very useful! Thank you for the article.
Vitor
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, April 16, 2013 8:25 AM
Points: 168,
Visits: 671
|
|
"The ETLadmin account, which is a domain account that we use it to run SSIS packages, does not have the right permission to access views in that database even if it has sysadmin permission on that SQL Server instance."
Could the author please explain this a bit further? How can a database user with sysadmin permissions on the instance not be able to read any data it wants? I admit that with only 4 years DBA experience I'm not a SQL Server guru, but I find it hard to believe that this is truely the case.
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 5:54 PM
Points: 525,
Visits: 617
|
|
Short, sweet and to the point! My favorite type of article.
I would also like an explanation as to how can sysadmin account not be able to read certain database tables?
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 01, 2013 12:25 PM
Points: 22,
Visits: 96
|
|
It is true that a sysadmin loin has the permission to read all database objects. But many applications use views to control the data access. For example, user logins are saved in a table, and grouped by permissions or positions. A view displays different employee data according to the current login. If the login is a department supervisor, then the view only return employees from this department. If the login is CEO, then it returns all employees. Or only if the login is HR user, the review returns salary, otherwise salary is null. This permission control has nothing to do with the database permission. If you know the database structure, you can run a query against tables instead of views. But unfortunately sometime purchased third party applications are not allowing you to know the inside of the database. And in most cases, the queries can be very complicated. To make it worse, after an upgrade, tables could be changed.
|
|
|
|
|
SSCoach
         
Group: General Forum Members
Last Login: 2 days ago @ 1:46 PM
Points: 18,732,
Visits: 12,329
|
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 01, 2013 12:25 PM
Points: 22,
Visits: 96
|
|
Thanks for all the comments. It's encouraging.
|
|
|
|
|
SSCoach
         
Group: General Forum Members
Last Login: 2 days ago @ 1:46 PM
Points: 18,732,
Visits: 12,329
|
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 5:59 AM
Points: 389,
Visits: 140
|
|
The facet thing works only on SQL 2008.
If you were to run it in SQL2005, you'll have to use runas along with other parameters
|
|
|
|