<?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: ASP.NET 2.0 Built-In Membership</title><link>http://forums.asp.net/thread/3284837.aspx</link><pubDate>Thu, 09 Jul 2009 23:41:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3284837</guid><dc:creator>mwheeler</dc:creator><author>mwheeler</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3284837.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3284837</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks for all your feedback and the wealth of information. We have decided to go middle ground and have succeeded in getting our log-ins to work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 Built-In Membership</title><link>http://forums.asp.net/thread/3274264.aspx</link><pubDate>Sat, 04 Jul 2009 05:04:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274264</guid><dc:creator>integrasol</dc:creator><author>integrasol</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274264.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3274264</wfw:commentRss><description>&lt;p&gt;Based on your description and assuming you want&amp;nbsp;as much out-of-box as possible, I&amp;#39;d go with ASP.NET Membership and Profile properties, and the ASP.NET Login controls. As I see it, it will help you with all of your requests.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ASP.NET Profile Properties Overview&lt;/strong&gt;: &lt;a href="http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx"&gt;http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Login Controls Overview&lt;/strong&gt;: &lt;a href="http://msdn.microsoft.com/en-us/library/ms178329.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms178329.aspx&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Managing Users by Using Membership&lt;/strong&gt;: &lt;a href="http://msdn.microsoft.com/en-us/library/tw292whz.aspx"&gt;http://msdn.microsoft.com/en-us/library/tw292whz.aspx&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Based on your description of custom user information, I don&amp;#39;t think there&amp;#39;s a need for a separate database; custom&amp;nbsp;profile properties ought to do it for you. You can place your admin pages in a separate folder and have these folders secured with a &lt;strong&gt;location&lt;/strong&gt; element in the web.config, and have the menu security trimmed using the &lt;strong&gt;Menu&lt;/strong&gt; control and a &lt;strong&gt;SiteMapProvider&lt;/strong&gt; control, based on a web.sitemap XML file using the &lt;strong&gt;roles&lt;/strong&gt; attribute. As I said there&amp;#39;s a lot out-of-box using these features, but obviously it will take some time to put together. The only thing that I think you will have to do manually is the creation of a new user; it is certainly supported by the Membership class, but you need to supply the username. However, creating an algorithm for creating a new user, shouldn&amp;#39;t be that big a deal.&lt;/p&gt;
&lt;p&gt;There you have it, me 0.02$&lt;/p&gt;
&lt;p&gt;Good luck. &lt;img title="Smile" border="0" alt="Smile" src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 Built-In Membership</title><link>http://forums.asp.net/thread/3274250.aspx</link><pubDate>Sat, 04 Jul 2009 04:51:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274250</guid><dc:creator>asifchouhan</dc:creator><author>asifchouhan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274250.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3274250</wfw:commentRss><description>&lt;p&gt;Go through this links&lt;/p&gt;&lt;p&gt;&lt;b&gt;Introduction to Membership Provider :&lt;/b&gt; &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/yh26yfzy.aspx"&gt;http://msdn.microsoft.com/en-us/library/yh26yfzy.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;How To: Use Membership in ASP.NET 2.0 : &lt;/b&gt;&lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/ms998347.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms998347.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Asif&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ASP.NET 2.0 Built-In Membership</title><link>http://forums.asp.net/thread/3274245.aspx</link><pubDate>Sat, 04 Jul 2009 04:45:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274245</guid><dc:creator>RickNZ</dc:creator><author>RickNZ</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274245.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3274245</wfw:commentRss><description>&lt;p&gt;If you expect your site to be relatively low-traffic, then the built-in membership system would be fine.&amp;nbsp; It&amp;#39;s not suitable for large-scale or performance-sensitive sites, but works great for small sites, and can help you get up-and-running quickly.&lt;/p&gt;&lt;p&gt;BTW, you said you don&amp;#39;t need roles, but that a site manager would be able to view certain pages -- that sounds like an application for roles to me....&lt;/p&gt;&lt;p&gt;Another thing to consider is that there is a middle ground between a full-custom solution and using the entire built-in mechanism: you can build a custom MembershipProvider.&amp;nbsp; You do that by providing methods for things like creating a user, logging in, etc.&amp;nbsp; That way, you can have your own schema while still leveraging the rest of the infrastructure.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>ASP.NET 2.0 Built-In Membership</title><link>http://forums.asp.net/thread/3273876.aspx</link><pubDate>Fri, 03 Jul 2009 17:38:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273876</guid><dc:creator>mwheeler</dc:creator><author>mwheeler</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273876.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3273876</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;We are in the process of building a new web site for a virtual airline&amp;nbsp;based on&amp;nbsp;Microsoft Flight Simulator&amp;nbsp;and are not sure how we should setup our logins. Should we use the built-in ASP.NET Membership or just use a custom login and database table?&lt;/p&gt;
&lt;p&gt;Here are some of the reasons why we are not sure which way we should go:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The web site is hosted with a web hosting company (they do support ASP applications) but we do not have access to the IIS console;&lt;/li&gt;
&lt;li&gt;We previously had a web site written in Classic ASP and the login table was a simple table in an SQL database that had the user name (Pilot ID)&amp;nbsp;and password. There wasn&amp;#39;t and there still is no need to use roles, etc.&lt;/li&gt;
&lt;li&gt;The user names (Pilot ID)&amp;nbsp;need to be auto-generated. (i.e. CXA100, CXA101, CXA102, etc.);&lt;/li&gt;
&lt;li&gt;A list of all users (Pilot IDs)&amp;nbsp;in a dropdownlist is to be part of the login control, where a&amp;nbsp;pilot would select his Pilot ID from the dropdown list and then enter his password;&lt;/li&gt;
&lt;li&gt;We are using a MasterPage which will contain the login box, so that users can login from any page on the web site;&lt;/li&gt;
&lt;li&gt;A logged in user should not be redirected to any other page;&lt;/li&gt;
&lt;li&gt;In general, visitors to our web site will be able to view most of the content on the web site without logging in;&lt;/li&gt;
&lt;li&gt;However, based on our previous classic ASP web site, an authenticated user who is a site manager, would be able to view certain pages (in order to approve new user registrations, etc.) based on their authenticated user name. (i.e. CXA001 can view the management pages, etc.);&lt;/li&gt;
&lt;li&gt;Our database keeps track of how many hours each&amp;nbsp;user has&amp;nbsp;flown and we work on&amp;nbsp;a reward system, where as you increase your hours flown, it unlocks the Download button on the aircraft pages, so you can download and install larger aircraft to fly on-line. (If you do not have enough hours or you are not logged in, the download button is hidden);&lt;/li&gt;
&lt;li&gt;Our web site is being written with Visual Studio 2005 and our database is a SQL 2008 Server database. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Based on the above criteria, how would you recommend that we proceed? &lt;/p&gt;
&lt;p&gt;Your feedback and guidance on how to proceed is greatly appreciated.&lt;/p&gt;</description></item></channel></rss>