简体   繁体   English

如何通过电子邮件发送的链接登录asp.net应用程序

[英]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.

相关问题 如何向asp.net中的dropfolder发送电子邮件? - How do I send email to a dropfolder in asp.net? 我想通过我的ASP.NET项目发送电子邮件 - I want to send email through my ASP.NET project 如何将ASP.NET MVC默认登录页面更改为通过用户名而不是电子邮件地址登录? - How do I change the ASP.NET MVC default login page to login by username instead of email address? 如何使用户能够从ASP.NET MVC发送电子邮件? - How do I enable users to send email from ASP.NET MVC? 如何将ASP.NET Webforms网站的输出发送到字符串/电子邮件? - How do I send output of ASP.NET webforms site to a string/email ? 我如何使用angular 5和asp.net core从angular发送电子邮件到端点 - How do I send an email from angular to the endpoint using angular 5 and asp.net core 我如何在asp.net mvc中发送确认电子邮件 - How can I send a Confirmation Email in asp.net mvc c#使用asp.net web应用程序每天通过电子邮件发送上传的文件 - c# send uploaded file through email daily using asp.net web application 如何在ASP.Net应用程序作为电子邮件发送的短信中包含换行符? - How do I include a newline in a text message sent as email from an ASP.Net application? 我如何使用来自 ASP.Net 应用程序的用户身份登录到 azure SQL - How do i login to azure SQL using users identity from a ASP.Net application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM