If you think about giving column level permission , you'll probably create a view with only needed columns to expose to ,then grant SELECT permission on that view and absolutely DENY access to underlaying tables to the user, right? Also , it depends on the policy of the company but you are able to grant SELECT/UPDATE/DELETE/INSERT operations on column level, have you ever used it:-)? So I recently visited our client who does perfom security permission on column level and wanted to know what are the columns and on what tables that specific user has access? I decided to perform the below testing, see if that might help you.
CREATE TABLE demo (c INT, c2 INT)
/* Grant SELECT permission on column named c on demo table*/
GRANT SELECT (c) ON demo TO test
EXECUTE AS USER = 'test';
SELECT * FROM fn_my_permissions('dbo.demo', 'OBJECT')
ORDER BY subentity_name, permission_name ;
REVERT
Tuesday, March 16, 2010
Subscribe to:
Post Comments (Atom)
4 comments:
^^~~輕輕鬆鬆的逛部落格,多謝有您的分享哦~~~..............................
may the blessing be always with you!! ........................................
做愛自拍照免費線上自拍影片自拍短片國中自拍免費自拍線上免費做愛影片線上免費無碼短片線上免費貼片線上免費漫畫網線上免費影片a線上直播免費a片線上洪爺線上看無碼卡通線上看影片a線上看碼線上美女影片線上做愛小影片線上做愛遊戲線上做愛影片區線上情色看線上情色貼線上情色影片免費線上無碼免費av線上短片免費線上短片免費試看線上看情色影片網線上看情色網線上看做愛小影片免費線上看A線上看A片武俠小說 亂倫小說 嘟嘟成人哈比寬頻成人
Office 2010is powerful!
Microsoft Office 2010is the best software in the world.
Microsoft wordis so great!
Office 2007makes life great!
Many people likeMicrosoft Office.
Microsoft Office 2007is welcomed by the whole world.
Office 2007 keyis available here.
Office 2007 downloadis on sale now!
Office 2007 Professionalbring me so much convenience.
Outlook 2010 make life wonderful!
Microsoft outlook is my love.
Microsoft outlook 2010 is convenient!
Windows 7 is convenient!
Post a Comment