George Lewycky
2015-02-06 19:23:20 UTC
We are trying to encrypt the users email in a stored proc in SQL Server 2008R2 using cdosysmail to allow them to unsubscribe using encrypted query string
to prevent hacking, etc.
And also in the stored procedure to DEcrypt the query string back to
validate and/or update the record to unsubscribe.
SET @unsubfooter =
'<br>' + ' <a href="http://www.yada.com/Unsubscribe.aspx?email=' +
cast(@vendemail as varchar) + '">' + 'Click here to Unsubscribe </a> ';
Any ideas or suggestions or experiences appreciated
Sincerely
George
to prevent hacking, etc.
And also in the stored procedure to DEcrypt the query string back to
validate and/or update the record to unsubscribe.
SET @unsubfooter =
'<br>' + ' <a href="http://www.yada.com/Unsubscribe.aspx?email=' +
cast(@vendemail as varchar) + '">' + 'Click here to Unsubscribe </a> ';
Any ideas or suggestions or experiences appreciated
Sincerely
George