|  | 设为首页 加入收藏 联系我们 |

|  | 首 页 行业资讯 网站运营 网络编程 数 据 库 网页设计 网络安全 网站推广 平面设计 服 务 器 商城 |

| 站内搜索： 热门Tag： 淘特 CMS 门户 信息港 房产 汽车 旅游 分类信息 下载 JspCms 内容管理系统 更多>> |

现在位置：首页> 服 务 器

编辑推荐
?正确维护配置Apache服务器 保护系统..
?备份和恢复Windows中的IIS服务器..

热门点击
·Windows Vista下IIS使用常..
·如何解决Web访问时提示输入密码？
·IIS最小权限分配的批处理文件
·正确维护配置Apache服务器 保护系统..
·备份和恢复Windows中的IIS服务器..

图片推荐
·

IIS最小权限分配的批处理文件
作者： 日期：2013-08-19 出处： 点击:

@echo off echo "权限设定" echo "删除C盘的everyone的权限" cd/ cacls "%SystemDrive%" /r "everyone" /e cacls "%SystemRoot%" /r "everyone" /e cacls "%SystemRoot%/Registration" /r "everyone" /e cacls "%SystemDrive%/Documents and Settings" /r "everyone" /e echo "删除C盘的所有的users的访问权限" cd/ cacls "%SystemDrive%" /r "users" /e cacls "%SystemDrive%/Program Files" /r "users" /e cacls "%SystemDrive%/Documents and Settings" /r "users" /e cacls "%SystemRoot%" /r "users" /e cacls "%SystemRoot%/addins" /r "users" /e cacls "%SystemRoot%/AppPatch" /r "users" /e cacls "%SystemRoot%/Connection Wizard" /r "users" /e cacls "%SystemRoot%/Debug" /r "users" /e cacls "%SystemRoot%/Driver Cache" /r "users" /e cacls "%SystemRoot%/Help" /r "users" /e cacls "%SystemRoot%/IIS Temporary Compressed Files" /r "users" /e cacls "%SystemRoot%/java" /r "users" /e cacls "%SystemRoot%/msagent" /r "users" /e cacls "%SystemRoot%/mui" /r "users" /e cacls "%SystemRoot%/repair" /r "users" /e cacls "%SystemRoot%/Resources" /r "users" /e cacls "%SystemRoot%/security" /r "users" /e cacls "%SystemRoot%/system" /r "users" /e cacls "%SystemRoot%/TAPI" /r "users" /e cacls "%SystemRoot%/Temp" /r "users" /e cacls "%SystemRoot%/twain_32" /r "users" /e cacls "%SystemRoot%/Web" /r "users" /e cacls "%SystemRoot%/WinSxS" /r "users" /e cacls "%SystemRoot%/system32/3com_dmi" /r "users" /e cacls "%SystemRoot%/system32/administration" /r "users" /e cacls "%SystemRoot%/system32/Cache" /r "users" /e cacls "%SystemRoot%/system32/CatRoot2" /r "users" /e cacls "%SystemRoot%/system32/Com" /r "users" /e cacls "%SystemRoot%/system32/config" /r "users" /e cacls "%SystemRoot%/system32/dhcp" /r "users" /e cacls "%SystemRoot%/system32/drivers" /r "users" /e cacls "%SystemRoot%/system32/export" /r "users" /e cacls "%SystemRoot%/system32/icsxml" /r "users" /e cacls "%SystemRoot%/system32/lls" /r "users" /e cacls "%SystemRoot%/system32/LogFiles" /r "users" /e cacls "%SystemRoot%/system32/MicrosoftPassport" /r "users" /e cacls "%SystemRoot%/system32/mui" /r "users" /e cacls "%SystemRoot%/system32/oobe" /r "users" /e cacls "%SystemRoot%/system32/ShellExt" /r "users" /e cacls "%SystemRoot%/system32/wbem" /r "users" /e echo "添加iis_wpg的访问权限" cacls "%SystemRoot%" /g iis_wpg:r /e cacls "%SystemDrive%/Program Files/Common Files" /g iis_wpg:r /e cacls "%SystemRoot%/Downloaded Program Files" /g iis_wpg:c /e cacls "%SystemRoot%/Help" /g iis_wpg:c /e cacls "%SystemRoot%/IIS Temporary Compressed Files" /g iis_wpg:c /e cacls "%SystemRoot%/Offline Web Pages" /g iis_wpg:c /e cacls "%SystemRoot%/System32" /g iis_wpg:c /e cacls "%SystemRoot%/Tasks" /g iis_wpg:c /e cacls "%SystemRoot%/Temp" /g iis_wpg:c /e cacls "%SystemRoot%/Web" /g iis_wpg:c /e echo "添加iis_wpg的访问权限[.net专用]" cacls "%SystemRoot%/Assembly" /g iis_wpg:c /e cacls "%SystemRoot%/Microsoft.NET" /g iis_wpg:c /e echo "添加iis_wpg的访问权限[装了MACFEE的软件专用]" cacls "%SystemDrive%/Program Files/Network Associates" /g iis_wpg:r /e echo "添加users的访问权限" cacls "%SystemRoot%/temp" /g users:c /e
上一篇：如何解决Web访问时提示输入密码？ 下一篇：正确维护配置Apache服务器 保护系统安全

[1]

- 返回首页
- 打印本文
- 加入收藏
- 返回顶部
- 关闭窗口

相关文章 | 查看留言 发表评论
用 户： |
内 容： |
验证码： |

关于本站　|　免责声明　|　联系我们　|　版权隐私　|　友情链接　|网站地图 | SiteMap
联系电话：0531-88511191 | 客服QQ：6410861 | Email：totcms@163.com | ICP备：88888号 Copyright © TotCms.com All Rights Reserved. 济南淘网科技 版权所有