<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Changing the autogenerated password format in the SqlMembershipProvider</title>
	<atom:link href="http://www.sidesofmarch.com/index.php/archive/2006/10/16/changing-the-autogenerated-password-format-in-the-sqlmembershipprovider/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sidesofmarch.com/index.php/archive/2006/10/16/changing-the-autogenerated-password-format-in-the-sqlmembershipprovider/</link>
	<description>Thoughts on life, liberty, and information technology</description>
	<lastBuildDate>Tue, 24 Jan 2012 10:43:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: bg</title>
		<link>http://www.sidesofmarch.com/index.php/archive/2006/10/16/changing-the-autogenerated-password-format-in-the-sqlmembershipprovider/#comment-490879</link>
		<dc:creator>bg</dc:creator>
		<pubDate>Tue, 09 Jun 2009 11:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sidesofmarch.com/index.php/archive/2006/10/16/changing-the-autogenerated-password-format-in-the-sqlmembershipprovider/#comment-490879</guid>
		<description>We actually have a real problem with the password format,  which is that if they include angular brackets they arer sometimes not transported correctly in HTML encoded emails and if copy-pasted into a textbox they are rejected by the server as potential code injection.

I am not sure yet if I want to go all the way of creating a new provider or if I just wrap it in a GeneratePassword class of my own which filters out the angular brackets...</description>
		<content:encoded><![CDATA[<p>We actually have a real problem with the password format,  which is that if they include angular brackets they arer sometimes not transported correctly in HTML encoded emails and if copy-pasted into a textbox they are rejected by the server as potential code injection.</p>
<p>I am not sure yet if I want to go all the way of creating a new provider or if I just wrap it in a GeneratePassword class of my own which filters out the angular brackets&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don Wilcox</title>
		<link>http://www.sidesofmarch.com/index.php/archive/2006/10/16/changing-the-autogenerated-password-format-in-the-sqlmembershipprovider/#comment-235394</link>
		<dc:creator>Don Wilcox</dc:creator>
		<pubDate>Fri, 27 Jun 2008 02:21:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sidesofmarch.com/index.php/archive/2006/10/16/changing-the-autogenerated-password-format-in-the-sqlmembershipprovider/#comment-235394</guid>
		<description>I had a similar problem to yours. So I used your idea of replacing the membership provider to fix the reset password. Then to solve the problem in the CreateUserWizard, I just turned off AutoGeneratePassword, added an invisible TextBox named Password to the control, and in the CreatingUser event, I stuff the password control with a password generated using hte same algorithm:

TextBox pswdTxt =
            (TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl(&quot;Password&quot;);
pswdTxt.Text = MyGeneratePassword();

Thanks for the tip, I could only find my half of it.

Don</description>
		<content:encoded><![CDATA[<p>I had a similar problem to yours. So I used your idea of replacing the membership provider to fix the reset password. Then to solve the problem in the CreateUserWizard, I just turned off AutoGeneratePassword, added an invisible TextBox named Password to the control, and in the CreatingUser event, I stuff the password control with a password generated using hte same algorithm:</p>
<p>TextBox pswdTxt =<br />
            (TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl(&#8220;Password&#8221;);<br />
pswdTxt.Text = MyGeneratePassword();</p>
<p>Thanks for the tip, I could only find my half of it.</p>
<p>Don</p>
]]></content:encoded>
	</item>
</channel>
</rss>

