锁定网络应用程序仅适用于Intranet [英] Lock web app only work for intranet

查看:92
本文介绍了锁定网络应用程序仅适用于Intranet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在未来的某个星期,我将有工作来创建php网络应用,该应用将作为结算过程.正如客户和我的团队所同意的那样,该Web应用程序仅将部署在其内部服务器中.这需要为我自己提出一些基本问题.

some week in the future i will have job to create php web app that will work as billing process. As the client and my team agree upon, the web app will only deploy in their internal server. This need arose some fundamental questions for myself.

  1. 我们如何锁定Web应用程序,实际上真的只能在内部服务器上工作,而不能按要求在Internet上工作?由于这种需要,工作成本已在一定程度上削减了.因此,最好仅按客户描述的方式工作:它将仅在Intranet中部署为Intranet
  2. 仅在Intranet中(及其所有apache服务器)部署php应用程序的利弊是什么?
  3. 在Intranet环境和Internet中部署php应用程序的根本区别是什么?有什么要考虑的吗?
  4. 我知道我们可以将Windows放入闪存盘或笔形磁盘中.我是否有任何以相同方式工作的自动运行的apache/php服务器?
  1. how do we lock the web app really really will work only in internal server and not in internet as it asked ? cause this need, the cost for the job have been cut into some degree. so it will be best if it only work as client describe it : it will be deploy in intranet an intranet only
  2. What is the pro and cons deploy php application only (with all of its apache server )in intranet ?
  3. What is the fundamental different between deploying php app in intranet environment and in internet ? is there anything to be consider ?
  4. I know we can put windows in to a flash-disk or pen-disk. i there any autorun apache/php server that work in the same fashion ?

推荐答案

设置您的apache配置,以便仅允许内部网络使用mod_authz_host访问计费系统.

Set up your apache configuration so that only the internal network is allowed to access the billing system using mod_authz_host.

<Directory /billing-system/docroot>
Order Deny,Allow
Deny from all
Allow from *internal ip range*
</Directory>

请参考 http://httpd.apache.org/docs /2.1/mod/mod_authz_host.html#allow 了解更多信息.

这篇关于锁定网络应用程序仅适用于Intranet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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