是否可以在IIS上只能从localhost查看网站的一部分? [英] Is it possible to make part of a site on IIS only viewable from localhost?

查看:129
本文介绍了是否可以在IIS上只能从localhost查看网站的一部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个运行IIS的网络服务器。我们想运行一个共享博客或其他东西来跟踪信息。由于安全问题,我们希望该部分只能从localhost查看,因此人们必须远程使用它。

We've got a webserver running IIS. We'd like to run maybe a shared blog or something to keep track of information. Because of security issues, we'd like for that part to be only viewable from localhost so people have to remote in to use it.

所以,重复我的问题,是否可以从localhost查看网站的一部分?

So, to repeat my question, can part of a website be made viewable from localhost only?

推荐答案

在IIS6中,您可以调出Web的属性并单击在目录安全性选项卡上。单击选项卡中间的按钮以编辑IP和域限制。在此选项卡上将所有计算机设置为拒绝,然后为要允许访问此站点的IP添加例外。

In IIS6 you can bring up the properties for the web and click on the directory security tab. Click the button in the middle of the tab for editing the IP and Domain restrictions. On this tab set all computers as denied, then add an exception for the IPs you want to allow access to this site.

我不知道如何在IIS7上配置它。我看了但是找不到它,如果我发现它我会编辑这个答案。

I am not sure how to configure this on IIS7. I looked but couldn't find it, if I find it I will edit this answer.

编辑:配置IIS7


  • Josh

这篇关于是否可以在IIS上只能从localhost查看网站的一部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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