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

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

问题描述

有人有一个应用程序 (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.

如何阻止这个特定的应用程序?

How can I block this specific app?

附言我有我的网络服务器的 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天全站免登陆