HTTP GET requests should not be interpreted by the server as a request to change something. That's what POST, PUT, DELETE and PATCH are for.
I agree, but how do you initiate a POST request via an email message? Embedding a form sometimes raises its own security alert.
Gmail is opening and caching URLs within emails without user intervention (2019)
71–80 of 271 posts
Re: Gmail is opening and caching URLs within emails without user intervention (2019)
#72This is a good feature in my opinion. Why should I let the sender know when I click on tracking links or view the email? If you really want to, just filter out clicks from AS15169.
So this way Google automatically confirms the validity of the email to spammers by visiting all their links? Doesn't sound great, and people still know when you click on links or view the email. They just have to guess a bit better.
Re: Gmail is opening and caching URLs within emails without user intervention (2019)
#73All URLs sent to any major email provider are "clicked" because they are scanning the page to see if it is phishing or otherwise malicious (desktop antivirus and other things will also prescan URLs). It also protects privacy by defeating click tracking on marketing emails. Google will also pre-load all the images in your email too. You shouldn't take any write action to your database just based on a URL being visited…
You think every email provider crawls links in your email and the inspects the destinations to protect you from spam? That is patently not true, otherwise you would be dealing with utter chaos as you interacted with the internet. If, as the OP claims, Gmail actually _is_ doing this, then that is worrying but it's not the general case. Google pre-loads and caches images, which many people consider problematic, but the…
Re: Gmail is opening and caching URLs within emails without user intervention (2019)
#74I built a small Go web app to do some security testing. When a user registers for an account, I generate a 128-bit secure token and email it to the address they provided (as a URL). Token URLs look like this: /validate/email/1d00a5c2648c211befd33f5a8a7cbfab The token is cryptographically strong and disappears after access. It can't be guessed and no one but the email account holder should click it, but I am seeing th…
I'm sure Google uses a specific user agent to make a request, so you can filter that out. A better solution is to assume that some middleman (email server or client) will always try to access links in the email. Instead send the user a code and have them manually enter it on the linked page.
Re: Gmail is opening and caching URLs within emails without user intervention (2019)
#75Re: Gmail is opening and caching URLs within emails without user intervention (2019)
#76I built a small Go web app to do some security testing. When a user registers for an account, I generate a 128-bit secure token and email it to the address they provided (as a URL). Token URLs look like this: /validate/email/1d00a5c2648c211befd33f5a8a7cbfab The token is cryptographically strong and disappears after access. It can't be guessed and no one but the email account holder should click it, but I am seeing th…
Make the user take action after opening the link. Like click a button.
Re: Gmail is opening and caching URLs within emails without user intervention (2019)
#77I built a small Go web app to do some security testing. When a user registers for an account, I generate a 128-bit secure token and email it to the address they provided (as a URL). Token URLs look like this: /validate/email/1d00a5c2648c211befd33f5a8a7cbfab The token is cryptographically strong and disappears after access. It can't be guessed and no one but the email account holder should click it, but I am seeing th…
Re: Gmail is opening and caching URLs within emails without user intervention (2019)
#78Earlier quoted context omitted.
Make the user take action after opening the link. Like click a button.
And make sure the action is a POST instead of a GET. GETs should never modify important state.
Why not send a short random code by email for the user to then copy into the sign-up form they were in the process of filling in?
Re: Gmail is opening and caching URLs within emails without user intervention (2019)
#79I built a small Go web app to do some security testing. When a user registers for an account, I generate a 128-bit secure token and email it to the address they provided (as a URL). Token URLs look like this: /validate/email/1d00a5c2648c211befd33f5a8a7cbfab The token is cryptographically strong and disappears after access. It can't be guessed and no one but the email account holder should click it, but I am seeing th…