This documentation site is about the unstable (upcoming) Comentario version.
Switch to the stable version »
Proof-of-work CAPTCHA difficulty
auth.captcha.pow.maxNumber
This dynamic configuration parameter sets the difficulty of the proof-of-work challenges protecting the Administration UI.
The value is the largest number the secret number of a challenge is picked from. The browser tries the numbers one by one, so solving takes half as many hashes on average, and up to this many at most.
- The default,
100000, takes a phone about a second. - The minimum is
1000, the maximum10000000.
Raising the difficulty makes each protected action costlier for a bot, and slower for a human too. A change applies to the challenges issued from then on, without a restart, which makes it something to turn up while under attack.
The setting only applies when the CAPTCHA provider for Administration UI is Proof of work. The difficulty for a domain is set in its Proof of work extension.
