首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
You are the administrator of a database that contains 64 lookup tables. These tables store static data that should not change. H
You are the administrator of a database that contains 64 lookup tables. These tables store static data that should not change. H
admin
2009-05-19
67
问题
You are the administrator of a database that contains 64 lookup tables. These tables store static data that should not change. However, users report that some of this data is being changed. You need to prevent users from modifying the data.
You want to minimize changes to your security model and to your database applications. How should you modify the database?
选项
A、Create a filegroup named LOOKUP. Move the lookup tables to this filegroup. Select the read only check box for the filegroup.
B、Create a database role named datamodifier. Grant SELECT permissions to the datamodifier role. Add all users to the role.
C、Deny INSERT, UPDATE, and DELETE permissions for all users. Create stored procedures that modify data in all tables except lookup tables. Require users to modify data through these stored procedures.
D、Create a view of the lookup tables. Use the view to allow users access to the lookup tables.
答案
A
解析
Explanation: SQL Server 2000 allows filegroups other than the primary filegroup to be marked as readonly.
A filegroup that is marked read-only cannot be modified. Tables that must not be modified can be placed on a filegroup that can then be mark as read-only. This will prevents accidental updates.
Incorrect Answers:
B: This solution effectively permits all users to modify any table in the database, as they would all have SELECT permissions to the database.
C: This solution will effectively prevent all users from being able to performing these tasks on all tables in the database as they are denied permissions to run INSERT, UPDATE, or DELETE statements against the database. A better solution would be to apply the deny permissions at the table level of the lookup tables. This would, however, require unnecessary administrative time.
D: Views are virtual tables that are used to filter tables or rows that the users should not have access to, however, if the users have access to the base tables, they can still run INSERT, UPDATE, and DELETE statements against the base table.
转载请注明原文地址:https://kaotiyun.com/show/yuhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
Severaltypesoffinancialriskareencounteredininternationalmarketing;themajorproblemsincludecommercial,political,an
Severaltypesoffinancialriskareencounteredininternationalmarketing;themajorproblemsincludecommercial,political,an
AlmosteveryyearsincetheendofthefinancialcrisishasstartedwithrosyexpectationsamongAmericanforecasters,andthis
Fewthingssay"forgetI’mhere"quitesoeloquentlyastheposeoftheshy—theavertedgaze,thehunchedshoulders,thebodypi
Writeanessayof160-200wordsbasedonthefollowingdrawing.Inyouressay,youshould1)describethedrawingbriefly,
Youareanactivememberofthestudentnewspaper.Thenewspaperiscurrentlylookingforajournalistforthesummersemester.
Thehumanbraincontains10thousandmillioncellsandeachofthesemayhaveathousandconnections.Suchenormousnumbersused
Thehumanbraincontains10thousandmillioncellsandeachofthesemayhaveathousandconnections.Suchenormousnumbersused
Evenintraditionaloffices,"thelinguafrancaofcorporateAmericahasgottenmuchmoreemotionalandmuchmoreright-brained
随机试题
请简单介绍20世纪30年代报告文学的兴盛。
可撤销合同自人民法院决定撤销之日起没有法律效力。()
根据承租人的授权和指示,代表承租人利益在租船市场上为承租人洽租合适船舶的人称为()
定期考核不合格的医师暂停执业活动期满,再次考核仍不合格的
根据合同法律制度的规定,由于债权人的原因,债务人无法向债权人交付合同标的物时,可以将该标的物交给提存部门,从而消灭债务,在标的物提存后,标的物毁损、灭失风险责任的承担者是()。
(2009年)两个平行的无限大灰体表面1和表面2,温度分别为T1和T2,发射率均为0.8。若在中间平行插入一块极薄的、发射率为0.4的金属板,则表面1和表面2之间换热量变为原来的()。
下列选项中不正确的是()。
某单位出纳员张某6月10日经办了三项业务:①收到单位从外地购物的发票,发现发票金额为30000元,实际支付金额为25000元,两者不一致,便在发票上做了更改,并加盖了自己的印章,作为报销凭证。②销售给外单位的商品发生退回,经单位领导批准,同意退款1
《中华人民共和国对外贸易法》的基本原则是什么?
Theprizesinthegames______ofmedalsanddiplomas.
最新回复
(
0
)