spiral-project / ihatemoney

A simple shared budget manager web application
https://ihatemoney.org
Other
1.2k stars 270 forks source link

Best config for spambot-safe deployment ? #1319

Open Gugli opened 4 months ago

Gugli commented 4 months ago

Hello everyone, and thanks for this great tool !

First, I really thing IHM deserves praise for its "keep it simple" philosophy. Cospend and Spliit are both nice solutions, but they also come with restrictions compared to IHM due to their sheer size. For me, simpler tools have a great value : easier and cheaper to deploy and integrate with other existing tools, smaller attack surface...

I set up a public-facing instance intended to serve me, family and friends. After a few hours, 2 fraudulent projects had been created, resulting in 2 "Project Creation" spam-mails sent. I disabled the instance. Allowing my server+domain to send spam will result in my domain being quickly banned from most email MTAs. That would be catastrophic.

I'm wondering about the best security practices to run an instance, without impacting convenience too much.

My idea to solve the issue :

This would result in :

Are there other/better ideas to address this issue ?

I can create the PR if you maintainers think it is worth. The change in code seem small to me. Would it have some chances to get merged ?