How do I grant NETWORK SERVICE read permissions

爱⌒轻易说出口 提交于 2019-12-29 08:33:08

问题


I'm currently learning ASP.NET and I'm running into difficulties integrating SQL Server into ASP.NET. I'm trying to grant NETWORK SERVICE read permission as follows:

4.NETWORK SERVICE must be granted Read permission to the top-level Visual Studio folder located in your user's Documents folder. The Visual Studio folder will have different names depending on the version: "Visual Studio 2005", "Visual Studio 2008", or "Visual Studio 2010".

5.NETWORK SERVICE must be granted both read and write permissions to your project's top-level project folder. For example if your WAP project is called "MyCustomWebProject", then the folder "Documents\Visual Studio 20xx\Projects\MyCustomWebProject" needs to have read and write access enabled for NETWORK SERVICE. Or, if your webiste project is called "MyCustomWebProject", then the folder "Documents\Visual Studio 20xx\Websites\MyCustomWebProject" needs to have read and write access enabled for NETWORK SERVICE.

6.NETWORK SERVICE must be granted both read and write permissions to the App_Data folder located within your web project's directory structure.

I've located the folders and accessed their properties but under security I do not have an entry for NETWORK SERVICE, how do I grant NETWORK SERVICE read and write permissions?


回答1:


If you have Admin access right click on the project folder --> Properties --> Security --> Edit --> Add --> Network Service as Name and give the permission.

Or if you are opening VS with admin access you probably may not need the access



来源:https://stackoverflow.com/questions/20009791/how-do-i-grant-network-service-read-permissions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!