English 中文(简体)
利用行车监督记录仪停止在Joomla使用 force木图谋。 需要帮助
原标题:Trying to stop brute force login attempts in Joomla using onLoginFailure() function. Need help

我正在尝试开发一个适用于Joomla 1.5的模块,可以识别暴力登录攻击并将其关闭。

我发现,一项职能要求LoginFailure()在航标未遂失败时即行。 从这一功能中,Im试图标出哪一个用户名称被用于标识。 在5个故障发生后,我想防止用户再尝试一个小时。

Is anyone familiar enough with Joomla to help me 1) access the username from within the onLoginFailure() scope 2) help me identify the best place for my code to prevent login attempts (redirect to a page that tells them they are banned for an hour).

我发现最好的现有模块是有人在登录尝试之间设置了10秒延迟...

最佳回答

我会创建一个带有授权插件的组件(主要是复制joomla.php,但加上这些实现)。

该组件负责创建登录相关的所有逻辑(包括记录用户所有登录尝试、重定向配置等),以及身份验证插件,用于检查一切是否正确。

然后您停用 joomla.php ,只保留您自己的身份验证模块。

问题回答

暂无回答




相关问题
cross platform issues in webpages

I am developing some basic html pages, i am setting colors of text usimg color code #e7eddf it seems fine in windows but seems different in mac. Can you explain me why its happening and also ...

How to create breadcumb for custom component in Joomla?

I have a custom component in which I want to have a breadcumb to help the user navigate the previous page visits. The basic feature in my component is to show our product releases. The workflow is: ...

Preloading images

i ve a navigation bar like the one below..for each it changes the background color on mouseover and mouseout and there is a lag to load those images which looks awful :( i wanna know how to preload ...

Joomla conditional menu item

I d like to create a menu item in Joomla that points to one article when the user is logged out, and a different article when the user is logged in. I tried creating two menu items, and make them ...

unable to connect to database on AWS

actually I have my website build with Joomla hosted on hostmonster but all Joomla website need a database support to run this database is on AWS configuration files need to be updated for that I ...

How can you test if you re on the homepage in Joomla?

I m working on a Joomla site, and I need the front page to look slightly different from the rest of the pages, but not enough to warrant the use of two themes (it s a pain to have to update two ...

How to get the current Joomla username?

I m trying to get the current Joomla username. I was able to get it by using $user =& JFactory::getUser(); echo $user->username; But now I ve installed Joomla on my local server and it doesn ...

热门标签