-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm email address on signup and change #2170
Comments
A user reported this issue today at https://help.hmdc.harvard.edu/Ticket/Display.html?id=216399 |
Needed to prevent using other people's real email address to create fake accounts, see RT 225535 |
Email addresses are necessary to allow communication with Dataverse users through the application or outside the application (e.g. for special announcements). It is then essential that the address belongs to the person claiming the address. I trust the IdPs/IdFederation to provide email address(es) that indeed belong to the user, but in other cases confirmation is appreciated, because the information in Dataverse could be sensitive and needs to be handled only by authorised people. Email address confirmation is a small step to aid authentication. |
We should also add upon sign-up that the user must enter their email address twice in the UI to confirm that this is entered correctly. At the moment we only enter an email once and that could allow for people to put in an incorrect email address (typos). Cc/ @eaquigley |
@eaquigley here are two examples of a Sign Up page (facebook and patreon) which ask you to re-enter your email when creating your account: |
http://policy.security.harvard.edu/sa6-appropriate-user-acccess says "SA6: Users must only be permitted to access a server or application after their current business need for access has been established" and lists "Review active accounts" and "Disable account access" under "How to Comply". I'm assigned this issue to myself because @mcrosas @kcondon @whorka and I have discussed how the RCE accounts need to be renewed periodically per http://projects.iq.harvard.edu/user-services/rce-account-renewal and we might want to contact Dataverse users in a similar fashion to make sure they still need access to sensitive data. Accurate email addresses on file per user will facilitate this task, should we choose to require access to data to be periodically re-verified, so this issue is a dependency for non-Shibboleth users (local or builtin users). |
@bsilverstein95 I'm assigning this issue to you to start thinking about the implementation details. I'd suggest looking at how the password reset feature was implemented in #416 in the sense that we email a user a link with a unique token in it. You can see the In order to support this feature we'll need to add a column or two to a user-related database table. I don't think we should use the By using the To me it's an open question of what the behavior should be for a user who does not have a verified email address. (This is all users in any production installation of Dataverse at this point.) Should they not be allowed to create datasets? Should they be allowed to create datasets but not get an email notification that they created one? The latter would be easier to implement... the rule would be that email would only be sent to users with verified email addresses. See the "prevent using other people's real email address to create fake accounts" note from @kcondon at #2170 (comment) |
Notes from the meeting on 7/5:
|
@bsilverstein95 helped me reproduce the math challenge bug but I don't know how to fix it. The same math challenge bug was found in the harvesting branch at in #3265 but at #3265 (comment) @scolapasta indicated, "This is not related to this release specifically. It is the math challenge for the general exception. The other math challenge issue is still open for this user case." The other open issue is #3036. So it sounds like all of these math challenge bugs will be fixed once #3036 is prioritized. The easiest way to reproduce this class of bug is to type an incorrect username and password, as mentioned at #3036 (comment) @scolapasta do you have any idea of how to fix #3036? @djbrooke should #3036 be worked on for 4.5.1? |
OK, all of the above is correct and sounds like math challenge is grouped with another reported issue. So marking as closed. |
Please merge confirmemail.sql with the update db script. |
OK, looks good, ready for merge. |
HI everyone, I'd like to confirm can we run a script or API call to turn this feature on in our 4.10.1 instance? We are noticing users can sign up with fake e-mails etc. because verification of e-mail is not required at sign up. Any help or suggestions for us? We'd like to enable this as it is a security risk. Thanks in advance, best, Amber |
Hi @amberleahey - implementation of the verification mail functionality and the infrastructure to track whether or not an email is verified was implemented as part of a intern project a few years ago (hi @bsilverstein), but we have not yet tied it to the permissions system. It's something we'll need to work on in the future as we move towards sensitive data support. |
gotcha, okay keep us posted! We would love to see this soonish, I'll reach out if there is someone on our team who can work on this. |
@amberleahey great! Please keep us posted. For now, can you please leave a comment on #3300 because we'd love to hear from you and others what the "consequences" should be of NOT confirming your email address. |
Most sites confirm your email address on signup and Dataverse should do the same: https://support.twitter.com/articles/97942-confirming-your-email-address
In a 2015-04-30 Dataverse User Accounts and Auth Meeting @mcrosas and I talked about where email addresses come from (institution vs. user-supplied). Perhaps we wouldn't need to confirm email addresses from institutions.
User-supplied email addresses should also be confirmed when the user changes them.
The text was updated successfully, but these errors were encountered: