girino on Nostr: π¨βπ» utxo π¨βπ», a proposal for the WoT-Relays, to allow for newbies: ...
π¨βπ» utxo π¨βπ» (npub1utxβ¦50e8), a proposal for the WoT-Relays, to allow for newbies: CAPTCHA.
The idea should be, we add a page with a captcha and a place for the user to paste their npub. If they answer the captcha correctly, user gets added to a whitelist for a limited time (say 24h).
If user tries to access the relay and is not in the whitelist, nor in the WoT, relay responds with both an "auth" request and a private message pointing to the url of the captcha page.
When validating events, check for both WoT and whitelist.
If user tries to abuse the captcha page (3 bad captchas in a minute, or 10 bac captchas in an hour), blacklist them and their IP address.
The idea should be, we add a page with a captcha and a place for the user to paste their npub. If they answer the captcha correctly, user gets added to a whitelist for a limited time (say 24h).
If user tries to access the relay and is not in the whitelist, nor in the WoT, relay responds with both an "auth" request and a private message pointing to the url of the captcha page.
When validating events, check for both WoT and whitelist.
If user tries to abuse the captcha page (3 bad captchas in a minute, or 10 bac captchas in an hour), blacklist them and their IP address.