如何通过ASP.NET MVC 3在服务器上设置文件夹权限 [英] How to Set Folder Permissions on server through ASP.NET MVC 3

查看:93
本文介绍了如何通过ASP.NET MVC 3在服务器上设置文件夹权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个ASP.NET MVC 3应用程序,并且我想在其他网站的wwwroot文件夹上设置权限,以便将文件部署(复制)到这些网站或Sever Machine中的特定文件夹.实际上,我对此一无所知.谁能帮我解决这个问题.

I am building an ASP.NET MVC 3 application and I want to set permissions on other web site''s wwwroot folders in order to deploy (copy) files to these web sites or specific folder in Sever Machine. Actually Speaking i have no idea about this. can anyone help me to solve this problem.

推荐答案

您不能在使用网站的系统上设置文件夹权限.由于安全原因,不允许访问系统.

试想一下,如果允许这样做,那么各种网站会对您的系统造成什么影响!
You cannot set folder permissions on a system using a website. Because of security reasons, access to system is not allowed.

Just think, if anything as such was allowed, what can happen to your system by various websites!


这篇关于如何通过ASP.NET MVC 3在服务器上设置文件夹权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆