Proof of Work (PoW)¶
Proof of Work (PoW) - enables automatic user verification during first website visit.
PoW options¶
PoW can be configured on serv00.com with following values:
off- disabled (the protection will not be active for the domain)on- enabled only during an attack (PoW will be automatically activated when an attack is detected)always- always enabled (verification occurs on the first visit to the website)
The default PoW setting is on (enabled only during an attack).
Warning
When enabled - verification is performed once per day and requires cookies to be enabled in the client’s browser.
Configuration¶
DevilWEB¶
The PoW option can be changed by going to: WWW websites ➡ Manage ➡ Details ➡ Proof of Work.
Devil¶
After logging in to SSH you can change the PoW option using the command: devil www options DOMAIN pow on|always|off
Example: always enabling for the example.com webpage: devil www options example.com pow always
Customize the verification page¶
The appearance of the security page can be customized by creating the appropriate files in the errors directory.
File meanings:
pow-pensive.webp– image displayed during user verification.pow-happy.webp– image displayed after successful verification.pow-reject.webp– image displayed after access has been blocked.pow.css– CSS stylesheet allowing you to change the page's appearance.
The files should be placed in one of the directories below, depending on the application type:
- PHP:
~/domains/<DOMAIN>/public_html/errors/ - Python:
~/domains/<DOMAIN>/public_python/errors/ - Ruby:
~/domains/<DOMAIN>/public_ruby/errors/ - Node:
~/domains/<DOMAIN>/public_node/errors/
Example of the CSS file can be found here.