如何判断(or设置)web site不能被外部访问, 只能被内部访问(IIS7), (web.config)(applicationhost.config)

iamcaicainiao 2008-04-10 02:05:50
1. 如何判断(or设置)web site不能被外部访问, 只能被内部访问
2. For asp/net pages, how to make sure judge it is a release build without debug info?
3. how to Make sure we enable basic authentication and disable other authentication (passport and form)

(website in remote machine.)

Thanks a lot!
...全文
161 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
knowledge_Is_Life 2008-04-30
  • 打赏
  • 举报
回复
支持搂主,收藏
iamcaicainiao 2008-04-11
  • 打赏
  • 举报
回复
Oh. NO.

I need coding to get this.

1. I need judge that I disabled the forms authentication and passport authentication. I enabled the basic authentication and integrated windows authentication.
2. I need judge that the debug has been set to false when website released at last.
4. I need judge the web service not exposed to outside.

How to? any idea?

WMI?
I met access denied. But I successfuly get system info of WMI.

System.Web.Configuration? Or other?
How to get the basic authentication?

I can't access and analyze XML file directly.

Thanks.
  • 打赏
  • 举报
回复
1.在网站的属性里设置目录安全性的ip地址和域名限制等
myvicy 2008-04-10
  • 打赏
  • 举报
回复
在网站的属性里设置目录安全性的ip地址和域名限制等...

8,327

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 IIS
社区管理员
  • IIS
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧