地址,向他们发送电子邮件并要求他们点击链接。现在 我已经这样做但我的链接是人类可读的(例如 validator.aspx?address =" bl ** @ blah.com")所以任何用户都可以只需键入 他们的电子邮件地址到该链接,它就会为他们验证... 现在我要做的是加密这封电子邮件,但大多数 我搜索过的加密方法最终给了我一个非常好的长字符串,但是我见过的大多数专业网站已经完成了 这个但他们使用一个非常短的加密字符串..有人可以给我 一些关于如何去做的提示...什么是最好的最专业的 方法使用? 顺便说一下我在asp.net 2.0中编码这个C# 提前谢谢 等待你的回复 --- 最好的问候 Amir ***通过Developersdex发送 http://www.developersdex.com *** 解决方案 如果您需要传输 这个信息时,总是考虑加密 IMO这些网站根本没有加密。他们只是创建一个独特的 无法猜出ID并且这个id包含在邮件中...服务器端 他们知道用这个唯一ID标记的地址是有效... Patrice - " Amir Ghezelbash" <是***** @ rogers.com>一个écritdansle message de news:OV ************** @ tk2msftngp13.phx.gbl ... 大家好我有一个问题 我参与了一个项目,我需要通过向他们发送电子邮件并要求他们点击来验证用户的电子邮件地址一条链接。现在我已经这样做但我的链接是人类可读的(例如 validator.aspx?address =" bl ** @ blah.com")所以任何用户都可以输入他们的电子邮件地址到该链接,它将为他们验证... 现在我想要做的是加密这封电子邮件,但我搜索到的大多数加密方法最终给了我一个非常长串但我见过的大多数专业网站已经做了这个但是他们使用了很短的加密字符串..有人可以给我一些关于如何解决这个问题的提示。什么是最好的最专业的方法? 顺便说一句,我在asp.net 2.0中编码这个C#提前谢谢 等待你的回复 --- 最好的问候 Amir ***通过Developersdex发送 http://www.developersdex.com *** 你的意思是a GUID ...如果我这样做..那么我怎么知道哪个电子邮件是 他们试图验证? 他们的帐户可能有超过一个电子邮件地址! i必须以某种方式包含链接中的电子邮件地址 --- 最好的问候 Amir ***通过Developersdex发送 http://www.developersdex.com *** 当用户提交他们的电子邮件地址,并存储该地址时在一个 表(也许是CustomerEmail)中,也将GUID存储在一列中。因此, 您在GUID和特定电子邮件地址之间有链接。请确保 使用随机生成的id像guid而不是按顺序生成 id,因为它更难以破解。 " Amir Ghezelbash" <是***** @ rogers.com>在消息中写道 news:ua ************** @ tk2msftngp13.phx.gbl ... 你意思是一个GUID ...如果我这样做..然后我怎么知道哪个电子邮件是他们试图验证的? 他们的帐户可能有多个电子邮件地址! 我必须以某种方式包含链接中的电子邮件地址 --- 最好的问候 Amir * **通过开发人员指南发送 http://www.developersdex.com ***Hello every body I had a questionI am involved in a project where I need to verify the user''s emailaddress by sending them an email and asking them to click on a link. nowI have done this but my link is human readable(examplevalidator.aspx?address="bl**@blah.com") so any user can just type intheir email address into that link and it will validate it for them...now what I want to do is to encrypt this email but most of theencryption methods that I have searched into end up giving me a verylong strings but most professional websites that I have seen have donethis but they use a very short encrypted string.. can somebody give mesome hints on how to go about this...what is the best most professionalmethod to use?btw i am coding this in asp.net 2.0 C#thank you in advanceAwaiting your responds---Best RegardsAmir*** Sent via Developersdex http://www.developersdex.com *** 解决方案 When thinking about encryption always as yourself if you need to transmitthis info...IMO those sites are not encrypting at all. They just create a uniqueimpossible to guess ID and this id is included in the mail... Server sidethey know the address that is tagged with this unique id is valid...Patrice--"Amir Ghezelbash" <am*****@rogers.com> a écrit dans le message denews:OV**************@tk2msftngp13.phx.gbl... Hello every body I had a question I am involved in a project where I need to verify the user''s email address by sending them an email and asking them to click on a link. now I have done this but my link is human readable(example validator.aspx?address="bl**@blah.com") so any user can just type in their email address into that link and it will validate it for them... now what I want to do is to encrypt this email but most of the encryption methods that I have searched into end up giving me a very long strings but most professional websites that I have seen have done this but they use a very short encrypted string.. can somebody give me some hints on how to go about this...what is the best most professional method to use? btw i am coding this in asp.net 2.0 C# thank you in advance Awaiting your responds --- Best Regards Amir *** Sent via Developersdex http://www.developersdex.com ***you mean a GUID ...if i do that ..then how would i know which email isit that they are trying to validate ?their account could have more then one email address!i have to somehow include the email address inot the link---Best RegardsAmir*** Sent via Developersdex http://www.developersdex.com ***When the user submits their email address, and you store that address in atable (perhaps CustomerEmail), also store the GUID in a column. Therefore,you have a link between the GUID and a specific email address. Just be sureto use a randomly generated id like a guid instead of sequentially generatedid, becuase it is more difficult to hack."Amir Ghezelbash" <am*****@rogers.com> wrote in messagenews:ua**************@tk2msftngp13.phx.gbl... you mean a GUID ...if i do that ..then how would i know which email is it that they are trying to validate ? their account could have more then one email address! i have to somehow include the email address inot the link --- Best Regards Amir *** Sent via Developersdex http://www.developersdex.com *** 这篇关于电子邮件验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-19 15:40