设计问题:通过电子邮件将图片发布到我们的网站
我有一个允许人们发布图片的网站。我希望允许人们将带有附件的电子邮件发送到特定电子邮件地址,以将图片发布到我们的网站并将其与发件人的帐户相关联。
有什么想法可以安全地做到这一点,而不要求用户向他们的电子邮件添加特殊密钥 - 因为这很麻烦?令人担忧的是发件人电子邮件地址可能被欺骗。
I have a site which allows people to post pictures. I would like to allow people to send an email with an attachment to a specific email address to post the picture to our site and have it associated with the account of the sender.
Any ideas on a secure way to do this without asking the user to add a special key to their email - as this is cumbersome? The concern is that the sender email address can be spoofed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么不为每个用户生成一个非常难以猜测的电子邮件地址?我认为 Flickr 会做类似的事情:通过电子邮件上传。
Why don't you generate a very-difficult-to-guess email address for each user? I think Flickr does something like that: Upload by email.