{"id":2785,"date":"2013-08-16T08:17:25","date_gmt":"2013-08-16T08:17:25","guid":{"rendered":"http:\/\/enjoyasp.net\/?p=2785"},"modified":"2014-02-17T09:57:12","modified_gmt":"2014-02-17T09:57:12","slug":"%e5%8f%aa%e8%af%bb%e8%b4%a6%e5%8f%b7%e8%ae%be%e7%bd%ae-db_datareader","status":"publish","type":"post","link":"https:\/\/enjoyasp.net\/index.php\/2013\/08\/16\/%e5%8f%aa%e8%af%bb%e8%b4%a6%e5%8f%b7%e8%ae%be%e7%bd%ae-db_datareader\/","title":{"rendered":"\u53ea\u8bfb\u8d26\u53f7\u8bbe\u7f6e-db_datareader"},"content":{"rendered":"<p>\u4e3a\u9632\u6b62\u6b63\u5f0f\u73af\u5883\u6570\u636e\u5e93\u88ab\u7be1\u6539\uff0c\u4f46\u53c8\u8981\u4fdd\u8bc1\u53ef\u4ee5\u6b63\u5e38\u67e5\u8be2\u5904\u7406\u95ee\u9898\uff0c\u53ef\u4ee5\u5c06\u8d26\u53f7\u7684\u6570\u636e\u5e93\u8bbf\u95ee\u6743\u9650\u8bbe\u7f6e\u4e3adb_datareader<br \/>\n\u6570\u636e\u5e93\u6743\u9650\uff1a\u5355\u72ec\u8bbe\u7f6e\u7684\u4f18\u5148\uff0c\u5982\u7ed9\u4e86\u4e00\u8d26\u53f7\u53ea\u8bfb\u6743\u9650\uff0c\u82e5\u522b\u5f00\u4e00\u5f20\u8868\u7ed9\u4e8e\u6b64\u8d26\u53f7\u5199\u6743\u9650\uff0c\u90a3\u4e48\u5355\u72ec\u8bbe\u7f6e\u7684\u5199\u6743\u9650\u4f18\u5148\u7ea7\u6700\u9ad8\u3002<br \/>\n\u6ce8\uff1adb_datareader\u6ca1\u6709\u5b58\u50a8\u8fc7\u7a0b\u8bbf\u95ee\u6743\u9650\uff0c\u82e5\u60f3\u5168\u5f00\uff0c\u5982\u4e0b\uff1a<\/p>\n<div>\n\tGRANT EXEC TO datareader<\/div>\n<div>\n\tGRANT ALTER TO datareader<\/div>\n<div>\n\t&nbsp;<\/div>\n<p>\n\u56fa\u5b9a\u6570\u636e\u5e93\u89d2\u8272<br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">db_owner \u6570\u636e\u5e93\u6240\u6709\u8005<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">db_accessadmin \u6570\u636e\u5e93\u8bbf\u95ee\u7ba1\u7406\u5458<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">db_securityadmin \u6570\u636e\u5e93\u5b89\u5168\u7ba1\u7406\u5458<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">db_ddladmin \u6570\u636e\u5e93 DDL \u7ba1\u7406\u5458<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">db_backupoperator \u6570\u636e\u5e93\u5907\u4efd\u64cd\u4f5c\u5458<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">db_datareader \u6570\u636e\u5e93\u6570\u636e\u8bfb\u53d6\u8005<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">db_datawriter \u6570\u636e\u5e93\u6570\u636e\u5199\u5165\u8005<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">db_denydatareader \u6570\u636e\u5e93\u62d2\u7edd\u6570\u636e\u8bfb\u53d6\u8005<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">db_denydatawriter \u6570\u636e\u5e93\u62d2\u7edd\u6570\u636e\u5199\u5165\u8005<\/span><\/p>\n<p><span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">\u56fa\u5b9a\u670d\u52a1\u5668\u89d2\u8272 \u63cf\u8ff0<\/span><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">sysadmin \u5728 SQL Server \u4e2d\u8fdb\u884c\u4efb\u4f55\u6d3b\u52a8\u3002\u8be5\u89d2\u8272\u7684\u6743\u9650\u8de8\u8d8a\u6240\u6709\u5176\u5b83\u56fa\u5b9a\u670d\u52a1\u5668\u89d2\u8272\u3002<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">serveradmin \u914d\u7f6e\u670d\u52a1\u5668\u8303\u56f4\u7684\u8bbe\u7f6e\uff0c\u5173\u95ed\u670d\u52a1\u5668\u3002<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">setupadmin \u6dfb\u52a0\u548c\u5220\u9664\u94fe\u63a5\u670d\u52a1\u5668\uff0c\u5e76\u6267\u884c\u67d0\u4e9b\u7cfb\u7edf\u5b58\u50a8\u8fc7\u7a0b\uff08\u5982 sp_serveroption\uff09\u3002<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">securityadmin \u7ba1\u7406\u670d\u52a1\u5668\u767b\u5f55\u548c CREATE DATABASE \u6743\u9650\uff0c\u8fd8\u53ef\u4ee5\u8bfb\u53d6\u9519\u8bef\u65e5\u5fd7\u548c\u66f4\u6539\u5bc6\u7801\u3002\u3002<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">processadmin \u7ba1\u7406\u5728 SQL Server \u5b9e\u4f8b\u4e2d\u8fd0\u884c\u7684\u8fdb\u7a0b\u3002<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">dbcreator \u521b\u5efa\u3001\u6539\u53d8\u548c\u9664\u53bb\u6570\u636e\u5e93\u3002<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">diskadmin \u7ba1\u7406\u78c1\u76d8\u6587\u4ef6\u3002<\/span><br style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\" \/><br \/>\n<span style=\"font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);\">bulkadmin \u6267\u884c BULK INSERT \u8bed\u53e5\u3002<\/span><\/p>\n<p><a href=\"http:\/\/technet.microsoft.com\/zh-cn\/library\/ms189612(v=sql.90).aspx\">\u56fa\u5b9a\u6570\u636e\u5e93\u89d2\u8272\u7684\u6743\u9650<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u9632\u6b62\u6b63\u5f0f\u73af\u5883\u6570\u636e\u5e93\u88ab\u7be1\u6539\uff0c\u4f46\u53c8\u8981\u4fdd\u8bc1\u53ef\u4ee5\u6b63\u5e38\u67e5\u8be2\u5904\u7406\u95ee\u9898\uff0c\u53ef\u4ee5\u5c06\u8d26\u53f7\u7684\u6570\u636e\u5e93\u8bbf\u95ee\u6743\u9650\u8bbe\u7f6e\u4e3adb_datare [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-2785","post","type-post","status-publish","format-standard","hentry","category-sql-server"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/2785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/comments?post=2785"}],"version-history":[{"count":0,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/2785\/revisions"}],"wp:attachment":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/media?parent=2785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/categories?post=2785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/tags?post=2785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}