如何区分来自Internet或Intranet请求 [英] how to differentiate Request from internet or intranet

查看:144
本文介绍了如何区分来自Internet或Intranet请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在,我需要区分Intranet和Internet请求的Web应用程序
我怎样才能做到这一点?

i have a web application in that i need to differentiate both intranet and internet requests how can i achieve this?

现在我已经想到了用IP地址来区分,但有可能是同一个内网IP地址,不同组织的一个机会。

right now i have thought of using IP address to differentiate but there might be a chance of same intranet ip address for different organizations.

是有区别的有效途径。

感谢您提前

推荐答案

我会使用的IP地址。如果其他组织的人查询页面,他们与这从他们的网IP不同的公网IP​​地址,做到这一点。

I would use IP address. If people from other organisations are querying the page, they do it with their public IP address which is different from their intranet IP.

只有从Intranet的人可以要求与本地IP地址。

Only people from your intranet can ask with local IP addresses.

这篇关于如何区分来自Internet或Intranet请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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