[英]How do I Login to asp.net application through a link send via email
Short Story: I'm a Newbie in application security.
短篇小说:我是应用程序安全方面的新手。 I need to implement a login via email.
我需要通过电子邮件实现登录。
Long Story: I have built a basic web chat application using SignalR, now i'm working in saving conversation in SQLServer Db.
长话短说:我已经使用SignalR构建了一个基本的Web聊天应用程序,现在我正在将对话保存在SQLServer Db中。 But my next challenge is to create a chat invitation email that will be send to all users from my db.
但是我的下一个挑战是创建一个聊天邀请电子邮件,该电子邮件将从我的数据库发送给所有用户。 The email should contain a link that when users will click they will be redirected to the chat web-page and automatically signed in.
电子邮件中应包含一个链接,当用户单击该链接时,他们将被重定向到聊天网页并自动登录。
My question is: Can it be done?
我的问题是:能做到吗? And if it can, how can it be done
如果可以,怎么办
Thank you for your help! 谢谢您的帮助!
Ok, the email client will not give you ability to authenticate, but you can open from email link page A which redirects user to page B on the same application. 好的,电子邮件客户端将不具备身份验证功能,但是您可以从电子邮件链接页面A打开,该页面将用户重定向到同一应用程序上的页面B。 dummy page A (if application hosted on local intranet and windows authentication is configured on the application) will post to page B user identity.
虚拟页面A(如果在本地Intranet上托管的应用程序和在应用程序上配置了Windows身份验证)将张贴到页面B用户身份。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.