<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: check case sensitive while login</title><link>http://forums.asp.net/thread/1870726.aspx</link><pubDate>Wed, 22 Aug 2007 08:54:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1870726</guid><dc:creator>bijujoseph</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1870726.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1870726</wfw:commentRss><description>&lt;p&gt;hi prasanth,&lt;/p&gt;&lt;p&gt;Thank you very&amp;nbsp; much&lt;/p&gt;</description></item><item><title>Re: check case sensitive while login</title><link>http://forums.asp.net/thread/1848917.aspx</link><pubDate>Thu, 09 Aug 2007 05:47:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1848917</guid><dc:creator>prasanthr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1848917.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1848917</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You have to use &amp;quot;CAST&amp;quot; Function in SQL statement, as follows,&lt;/p&gt;&lt;p&gt;SELECT *&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM logintable&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE CAST(LoginName&amp;nbsp; AS Varbinary(255))=&amp;nbsp; CAST(&amp;#39;test&amp;#39; &amp;nbsp; AS Varbinary(255)) AND [Password] = @Password&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here the password is md5 encrypted....&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;hope this will help you..&lt;/p&gt;&lt;p&gt;regards&lt;/p&gt;&lt;p&gt;prasanth&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: check case sensitive while login</title><link>http://forums.asp.net/thread/1834621.aspx</link><pubDate>Wed, 01 Aug 2007 08:56:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1834621</guid><dc:creator>naturehermit</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1834621.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1834621</wfw:commentRss><description>&lt;p&gt;How are checking for username, password in your webapplication? Are you using membership api?&lt;/p&gt;</description></item><item><title>Re: check case sensitive while login</title><link>http://forums.asp.net/thread/1834596.aspx</link><pubDate>Wed, 01 Aug 2007 08:44:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1834596</guid><dc:creator>XiaoYong Dai – MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1834596.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1834596</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;The reason why the username is non-case-senitive is that in the stored procedure &lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;span style="COLOR:green;"&gt;[dbo].[aspnet_Membership_CreateUser],&lt;/span&gt;&lt;/span&gt;&amp;nbsp; UserName is converted into all lowercase before inserting into the DB&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;To change this just goto the sp and change the &lt;font color="#ff00ff" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;LOWER&lt;font color="#808080" size="2"&gt;(&lt;/font&gt;&lt;font size="2"&gt;@UserName&lt;/font&gt;&lt;font color="#808080" size="2"&gt;)&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt; LoweredUserName&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;to&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font color="#ff00ff" size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font size="2"&gt;@UserName&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt; UserName&lt;/font&gt; &lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;make the&amp;nbsp;aspnet_Users table stores the original UserName.&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Hope it helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: check case sensitive while login</title><link>http://forums.asp.net/thread/1830274.aspx</link><pubDate>Mon, 30 Jul 2007 11:19:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1830274</guid><dc:creator>bijujoseph</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1830274.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1830274</wfw:commentRss><description>&lt;p&gt;plz don&amp;#39;t confuse when i said &amp;#39;both MS SQL Server 2000 and 2005&amp;#39;&lt;/p&gt;
&lt;p&gt;for some application, i use MS SQL Server 2000&lt;/p&gt;
&lt;p&gt;and for some other application, i use MS SQL Server 2005&lt;/p&gt;</description></item><item><title>check case sensitive while login</title><link>http://forums.asp.net/thread/1830133.aspx</link><pubDate>Mon, 30 Jul 2007 09:31:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1830133</guid><dc:creator>bijujoseph</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1830133.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1830133</wfw:commentRss><description>&lt;p&gt;hi all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i am using asp.net 2.0, and both MS SQL 2000 and 2005&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i have a table -login like below &lt;/p&gt;
&lt;p&gt;UID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Password &lt;/p&gt;
&lt;p&gt;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;test&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;test &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i want to login to a web application using this username and password&lt;/p&gt;
&lt;p&gt;but, what i want is, it should be case sensitive&lt;/p&gt;
&lt;p&gt;a user shall be able to enter in to the application only if he enters username -test and password -test&lt;/p&gt;
&lt;p&gt;he shall not enter for other combinations like TesT, Test, tesT etc...&lt;/p&gt;
&lt;p&gt;how shall i do that?&lt;/p&gt;
&lt;p&gt;thanks in advance&lt;/p&gt;</description></item></channel></rss>