I have the following scenario:
Co.A maintains a database dbA and he wants Co.B to have Select permissions on a view vwForB.
Co.B is not allowed to see the structure of tables,stored procedures, views and other objects on dbA.
I assigned db_denywriter,db_denyreader on Co.B and have assigned select permission on public on vwForB on dbA.
Why I can't Co.B execute vwForB...the error says...Select Permission denied on object 'vwForB', database 'dbA', owner 'dbo'.
How can I solve this problem?
Thanks.
Co.A maintains a database dbA and he wants Co.B to have Select permissions on a view vwForB.
Co.B is not allowed to see the structure of tables,stored procedures, views and other objects on dbA.
I assigned db_denywriter,db_denyreader on Co.B and have assigned select permission on public on vwForB on dbA.
Why I can't Co.B execute vwForB...the error says...Select Permission denied on object 'vwForB', database 'dbA', owner 'dbo'.
How can I solve this problem?
Thanks.