SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

New user validation needed

Open jaywink opened this issue 13 years ago • 13 comments

Currently there is no new user validation on signup. This is a big hole for spam.

Suggest to have pod send an email to user. Until link in email is clicked, user cannot post. UI should have "please validate your email" until it is done and also a resend option.

This would also cut down the possibilities of identity theft.

Recently there has been an increase of spam accounts appearing.

Optionally if wanted we could make this configurable with default being validate user emails = true.

jaywink avatar Dec 03 '13 12:12 jaywink

I love the fact that you can use diaspora* without needing a e-mail address (it's useful only for notifications and forgot password). This field should not be obligatory at the validation.

About spam, what about a captcha during registration? Something really simple, like "what's the name of this application?"

Flaburgan avatar Dec 03 '13 13:12 Flaburgan

Or even better, a choice of email or captcha, so anyone who doesn't want to use email has an option, as does anyone who hates captchas.

Good idea, Jason, thanks for raising it.

goobertron avatar Dec 03 '13 14:12 goobertron

I have found simple-captcha easier than Recaptcha. It displays text more clearly than Recaptcha. If you are agree, I can implement this feature.

qmaruf avatar Dec 12 '13 11:12 qmaruf

Looks awesome and fits our app architecture well.

+1 for this from me :)

Quazi Marufur Rahman [email protected] wrote:

I have found simple-captcha easier than Recaptcha. It displays text more clearly than Recaptcha. If you are agree, I can implement this feature.

— Reply to this email directly or view it on GitHub.

jaywink avatar Dec 12 '13 12:12 jaywink

That would be great, as long as simple-captcha doesn't display text so clearly that spambots can decipher it!

goobertron avatar Dec 12 '13 12:12 goobertron

It has many different levels and tunability with backgrounds etc, we can tune it up if needed :) I think the main important thing is it looks like it fits the code very nicely (with my limited rails architecture knowledge).

On 12/12/13 14:47, goobertron wrote:

That would be great, as long as simple-captcha doesn't display text so clearly that robots can decipher it!

— Reply to this email directly or view it on GitHub https://github.com/diaspora/diaspora/issues/4616#issuecomment-30417719.

jaywink avatar Dec 12 '13 12:12 jaywink

I'm not sure captchas are a good option, nowadays the spambots often are better in solving them than the humans.

jhass avatar Dec 13 '13 10:12 jhass

I am not sure whether a spam bot always fill all input fields of a form or not. If it does we can implement another solution. There will be a hidden text filed named spam-check. Generally a human will not fill this field. If in server side we get this field filled, we can assume this is a spam bot's work.

This is just an idea.

qmaruf avatar Dec 13 '13 10:12 qmaruf

Personally I would still prefer email validation :) Captchas may not be 100% perfect but they work to some extent and they are easy to implement.

IMHO I would go for a captcha and improve later if necessary, or replace with some non-captcha solution. Having spam infiltrate the network is worse than doing nothing. Diasp.de for example has been hit by quite a lot of spam accounts recently writing comments to public posts. It will get more frequent as links to diaspora around the internet increase.

jaywink avatar Dec 13 '13 10:12 jaywink

We could always make it configurable in pod settings, captcha_on_signup = true, etc being default, so podmins who don't want them can opt-out?

jaywink avatar Dec 13 '13 11:12 jaywink

Hidden fields are another common spam prevention technique, yes. Yet this isn't hard to detect in a program, thus the bots failing for this also seem to get rare.

jhass avatar Dec 13 '13 11:12 jhass

I have made a pull request implementing this feature(captcha added). Please review and suggest me if there is any problem.

qmaruf avatar Dec 14 '13 08:12 qmaruf

I'm closing this for now as captcha was implemented in #4659.

jaywink avatar Jan 11 '14 22:01 jaywink