如何阻止特定的应用程序访问我的网站
问题描述:
某人有一个访问我的网站并显示某些页面的应用(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.