But then I thought about it again... How does it help to use a reset link? I got the impression that email is not very secure. Can't a hacker intercept the email, see your password reset link, and then use that to reset your password to whatever he likes?
To intercept mails you must be somewhere along the route it goes,meaning you hacked the mail server,isp or the user network(or one of the computers in that route).
Now it sounds a bit more complex :)
--
You received this message because you are subscribed to the Google Groups "PyWeb-IL" group.
To post to this group, send email to pywe...@googlegroups.com.
To unsubscribe from this group, send email to pyweb-il+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyweb-il?hl=en.
So, there could be a dozen computers between point A and point B, right? And a hacker may tap into the cable between any 2 computers on the chain, and pick up the unencrypted communication, no?
--
What do you mean, "encrypt your stuff" in this context? I use 2FA on Google, but how can I encrypt email? I mean, I'm sure there are programs to do that, but I couldn't really (a) make the person who sends me email to send them encrypted or (b) ensure that the person I'm sending to has this program. No?
Cool. Let me understand what's going on here. When my webapp sends an email, it starts an SMTP connection to my mail provider and sends the message through that. Then that mail provider opens its own connection to the recipient's email server. Then the recipient checks his email by connecting to his email provider.
Did I get this right? I'm not experienced with email infrastructure so please correct me if I'm wrong.So we have 4 nodes and 3 connections between them.
Connection 1: Webapp -> Webapp's mail providerConnection 2: Webapp's mail provider -> Recipient's mail providerConnection 3: Recipient's mail provider -> RecipientConnection 1 is secure, since we can just do `EMAIL_USE_TLS = True` in Django. Connection 3 depends on the recipient; if he uses something like GMail, which is encrypted, he's safe.
This leaves Connection 2. Is this what you were referring to you when you said that any mail between Webfaction and GMail would be encrypted?
even if the smtp/pop combination is secure the fact that an email with the password is stored is a security hole by itself.
first, there is the social security concern, a user might accidently open the mail with the password when someone is watching, users could use a work mail which is monitored or might forget to log out and someone could browse their emails.
second, there is the question of whether these mails are stored in a secure manner, what happens when the server storing these mails is hacked?
regarding the security questions - i agree that its not ideal from a pure security point of view but unfortunately necessary from a usability point of view. i think that the combination of security question + single use password / activation link is a necessary evil. sites should consider asking questions based on the usage of the site like what facebook is doing - showing photos and asking which are your friends - but its also dangerous and might lock out people with bad memory..
some extra points to consider:
even if the smtp/pop combination is secure the fact that an email with the password is stored is a security hole by itself.
first, there is the social security concern, a user might accidently open the mail with the password when someone is watching, users could use a work mail which is monitored or might forget to log out and someone could browse their emails.
second, there is the question of whether these mails are stored in a secure manner, what happens when the server storing these mails is hacked?
regarding the security questions - i agree that its not ideal from a pure security point of view but unfortunately necessary from a usability point of view. i think that the combination of security question + single use password / activation link is a necessary evil. sites should consider asking questions based on the usage of the site like what facebook is doing - showing photos and asking which are your friends - but its also dangerous and might lock out people with bad memory..
ok, but what do you suggest for someone that forgot their password or
lost their authentication device (such as their mobile phone)?
they are to be locked out forever from their online services?
Reviving this old topic!Arik: When you get an email message, how do you check whether the mail servers used TLS while delivering it?
Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by gmr-mx.google.com with ESMTPS id dc12si2771039qcb.3.2012.01.20.14.36.20 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Jan 2012 14:36:20 -0800 (PST)It's a bit complicated because you should be looking only at Internet hosts rather than internal hosts which may relay the messages internally without TLS. There's no easy way unfortunately.