- Posts: 185
- Thank you received: 11
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Please suggest brute force protection other than built-in captcha
- bulgin
- Topic Author
- Offline
- Elite Member
Less
More
4 years 7 months ago - 4 years 7 months ago #188016
by bulgin
Replied by bulgin on topic Please suggest brute force protection other than built-in captcha
hello @denischenu and thank you for your continued interest. I'm happy about that.
I don't know how to make a lite plugin out of:
'log' => array(
'routes' => array(
'fileError' => array(
'class' => 'CFileLogRoute',
'logFile' => 'tokenaccess.log',
'levels' => 'warning, error',
'categories' => 'plugin.logToken.Error',
),
),
),
I don't know how to make a lite plugin out of:
'log' => array(
'routes' => array(
'fileError' => array(
'class' => 'CFileLogRoute',
'logFile' => 'tokenaccess.log',
'levels' => 'warning, error',
'categories' => 'plugin.logToken.Error',
),
),
),
Last edit: 4 years 7 months ago by bulgin.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 7 months ago #188031
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Please suggest brute force protection other than built-in captcha
No,
PLugin must be here only to add the
In onSurveyDenied event.
After you can update config.php to log in on a specific file and use fail2ban configuration to disable IP access to whole system.
Alternative : create a more complete plugin to disable access directly in onSurveyDenied event.
PLugin must be here only to add the
Code:
\Yii::log("Bad token entered", error, 'plugin.logToken.Error');
In onSurveyDenied event.
After you can update config.php to log in on a specific file and use fail2ban configuration to disable IP access to whole system.
Alternative : create a more complete plugin to disable access directly in onSurveyDenied event.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- bulgin
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 185
- Thank you received: 11
4 years 7 months ago #188064
by bulgin
Replied by bulgin on topic Please suggest brute force protection other than built-in captcha
So appreciate your efforts to help me DenisChenu. Really, I do. You are great, but my coding skills are very primitive. I need to see a single file that contains all the necessary commands as a plugin - I cannot figure out how to glue the pieces together.
From what I see of existing plugins there is one file that is the plugin. You examples, are they just one file or multiple files?
From what I see of existing plugins there is one file that is the plugin. You examples, are they just one file or multiple files?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 7 months ago #188095
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Please suggest brute force protection other than built-in captcha
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.