如何使用程序阻止网站 [英] how to block a website using program

查看:78
本文介绍了如何使用程序阻止网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想阻止使用程序在浏览器中输入的网站.

当用户在浏览器中提交网站/URL(例如:www.google.com)时,它将使用url击中或激活我们的程序,在该程序中,将使用预定义的阻止URL列表检查URL(如果提交的URL)在阻止列表中,我们必须在浏览器上显示错误消息,否则它将对浏览器给出正常响应.

注意:不编辑主机文件.

解决方案

您应该在防火墙处阻止URL,因为客户端计算机上运行的软件可能会受到损害.


Hi all,
I want to block a website entered in browser using programs.

When a user submitting website/URL (ex: www.google.com) in browser it will hit or activate our program with the url , in this program the URL is checked with predefined blocking list of url''s , if the submitted URL in blocking list we have to display error message on browser other wise it will give normal response to browser.

Note: without editing hosts file.

Any one please help me regarding this.

解决方案

You should block URLs at the firewall because software running on the client machine can be compromised.


这篇关于如何使用程序阻止网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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