January 12, 2017 at 8:26 am
I've been reading a bunch of articles about how to grant users permission to a view in one database that selects from a table in a separate database without actually having to grant them select permission on the table. I don't want to have to enable cross db ownership chaining so I'm checking to see if that is my only option before I move on from this topic. Here is the outline of what I'm trying to do.
I have a group of users set up in a role that has select permissions on View1 in Database2. View1 selects a filtered criteria from Table1 in Database1. I do not want the users in Database2 to have direct access to Table1 in Database1 -- only through the view. So select * from Database2..View1 should work but select * from Database1..Table1 should not. Any suggestions?
January 13, 2017 at 2:39 pm
RonMexico - Thursday, January 12, 2017 8:26 AMI've been reading a bunch of articles about how to grant users permission to a view in one database that selects from a table in a separate database without actually having to grant them select permission on the table. I don't want to have to enable cross db ownership chaining so I'm checking to see if that is my only option before I move on from this topic. Here is the outline of what I'm trying to do.I have a group of users set up in a role that has select permissions on View1 in Database2. View1 selects a filtered criteria from Table1 in Database1. I do not want the users in Database2 to have direct access to Table1 in Database1 -- only through the view. So select * from Database2..View1 should work but select * from Database1..Table1 should not. Any suggestions?
K. Brian Kelley
@kbriankelley
January 13, 2017 at 3:10 pm
Thanks, Brian! That's some really good information and will help me accomplish what I'm trying to do. I'll mess around with it and get back with any questions I have.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply