安全Web应用程序 [英] security web application

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

问题描述

大家好,
我的问题:
如何使我的网站打开或仅可在某些计算机上运行

Hi All,
my question:
how can make my website open or working into Certain computers only

推荐答案

您可以将IP地址列入白名单并将其存储在数据库中.
因此,当从不在白名单ip中不存在的任何ip地址请求该网页时,请重定向到显示消息不允许您查看此页面"的页面.

您可以全局调用该函数以限制查看Web应用程序,甚至限制应用程序内的页面.

为简化起见,您可以编写一个httpmodule来执行此操作.

这种方法的一个缺点是,客户端的白名单ip应该从固定IP请求.对于动态IP,无法创建白名单.
就像RDC的工作方式一样.

希望这能给您一些构想,以开始和探索更多.

欢呼
You can make a whitelist of IP address and store it in database.
So, when the webpage is requested from any ip address that doesn''t exixts in whitelist ip, redirect to a page showing Message "You are not allowed to view this page".

You can call the function globally to restrict viewing the web application or even page(s) within the application.

To simplify, you can write a httpmodule to do this.

One cons in this approach, is the whitelist ip of the client should be requesting from a fixed IP. For dynamic IP, it is not possible to create whitelist.
Just like how RDC works.

Hope this gives you some idea to start and explore more.

cheers


这篇关于安全Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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