Overleaf is indeed slightly more insecure than Dropbox, Git or e-mail, because it has one additional avenue for attack: you can get illicit access to a document stored there if you obtain the 24-digit hex number that appears in its URL.