Permissions about ASPNET users

xiaoxiao2021-03-06  90

Permissions about ASPNET users

When developing a web application under ASP.NET, especially if the read and write files are related to the read and write files, the ASPNET user often occurs no corresponding permissions for a directory, this is especially obvious in the NTFS partition.

Our general solution is to click right-click on this directory, then select "Security" in "Properties", then add ASPNET users to the current user list.

Such methods can be, but if there are multiple directory, it is necessary to repeated operation, which is cumbersome, so we can achieve the same effect by another method, and more efficient.

In Administrative Tools, select System Tools - "Local User and Group" - "Group", double-click "Administrator", then add ASPNET users to the group. So, the ASPNET user has administrator All permissions of the group, naturally have read and write permissions for all directories.

However, consider the possible security issues and hidden dangers before using this method :)

转载请注明原文地址:https://www.9cbs.com/read-95394.html

New Post(0)