如何阻止特定的应用程序访问我的网站 [英] How to block a specific App from accessing my website

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

问题描述

某人有一个访问我的网站并显示某些页面的应用(Android).

Someone has an app (Android) that accesses my website and displays some pages.

除了该应用程序存在一些错误并且使用该应用程序的人无法使用该网站的某些功能外,我对此还可以.

I would've been ok with it except that the app has some errors and people using it are unable to use certain functionalities of the site.

如何阻止该特定应用?

P.S.我对我的Web服务器具有root访问权,并且它是专用的.我运行CentOs 7,并在我的网站上使用Joomla.

P.S. I have root access to my web server and it's dedicated. I run CentOs 7 and using Joomla for my website.

推荐答案

检查您的Apache日志中该应用程序的用户代理,然后阻止该用户代理.希望用户代理将是唯一的,因此不会影响其他应用程序.

Check your Apache logs for the user agent of that app, and then block that user agent. Hopefully the user agent will be unique so no other apps will be affected.

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

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