<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>forms-based-authentication &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/forms-based-authentication/</link>
	<description>Feed of posts on WordPress.com tagged "forms-based-authentication"</description>
	<pubDate>Tue, 29 Dec 2009 21:45:48 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Using Forms Based Authentication (FBA) on a desktop application in C#]]></title>
<link>http://blog.manglar.com/2009/11/11/fba-on-desktop-applications/</link>
<pubDate>Wed, 11 Nov 2009 22:22:41 +0000</pubDate>
<dc:creator>manglar</dc:creator>
<guid>http://blog.manglar.com/2009/11/11/fba-on-desktop-applications/</guid>
<description><![CDATA[To use FBA on a desktop client will be necessary to make a first request to the server and create th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>To use FBA on a desktop client will be necessary to make a first request to the server and create the authentication cookie. This cookie will be used on the next requests to receive permission from the server to access protected resources imitating the browser’s behavior.<br />
First we need to write a server side method that receives the login and password information, does the authentication task and creates the authentication cookie:</p>
<pre>public bool Authenticate(String login, String password)
{
    if (Membership.ValidateUser(login, password))
    {
        System.Web.Security.FormsAuthentication.SetAuthCookie(login, false);
        return true;
    }
    else return false;
}</pre>
<p>On the client side we need to make a request to the authentication method and copy the authentication cookie to the future requests (<a href="http://manglar.wordpress.com/2009/11/11/json-post-request/">Here</a> you will find an easy way to make post requests using C#):</p>
<pre>Cookie cookie = authenticate_response.Cookies[".ASPXAUTH"];
new_request.CookieContainer = new CookieContainer();
new_request.CookieContainer.Add(cookie);</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SharePoint Rambles around FBA and Active Directory.]]></title>
<link>http://isaacblum.wordpress.com/2009/11/09/sharepoint-rambles-around-fba-and-active-directory/</link>
<pubDate>Mon, 09 Nov 2009 15:17:29 +0000</pubDate>
<dc:creator>IsaacBlum</dc:creator>
<guid>http://isaacblum.wordpress.com/2009/11/09/sharepoint-rambles-around-fba-and-active-directory/</guid>
<description><![CDATA[Thanks goes to the following people/sites: http://blogs.msdn.com/dansellers/archive/2005/11/09/49115]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Thanks goes to the following people/sites: <a href="http://blogs.msdn.com/dansellers/archive/2005/11/09/491152.aspx">http://blogs.msdn.com/dansellers/archive/2005/11/09/491152.aspx</a> &#38; <a href="http://windowsitpro.com/Web/article/articleid/9738/extending-the-user-class-in-the-ad-schema.html">http://windowsitpro.com/Web/article/articleid/9738/extending-the-user-class-in-the-ad-schema.html</a> </p>
<p>Enable Password Question and Password Reset:</p>
<p>When these attributes are set to true in the web config file as seen below, the user is required to provide an answer to a Password Question when the password is first created.  When the user resets their password, they will also be required to provider the answer they supplied to the Password Question when the password was first created. </p>
<p>&#60;membership defaultProvider=&#8221;ADAMProvider&#8221;&#62;<br />
  &#60;providers&#62;<br />
    &#60;add<br />
      connectionStringName=&#8221;ADCnString&#8221;<br />
      connectionUsername=&#8221;CN=ADAdmin,OU=Users,O=ADAuth&#8221;<br />
      <a href="mailto:connectionPassword=Pass@word1">connectionPassword=Pass@word1</a><br />
      connectionProtection=&#8221;None&#8221;<br />
      requiresQuestionAndAnswer=&#8221;true&#8221;<br />
      enablePasswordReset=&#8221;true&#8221; &#8230;</p>
<p>Mapping Password Question and Answer Attributes:</p>
<p>Both the Password Question and the Answer will be saved in the SQL Server, Active Directory, or the Active Directory Application Mode (ADAM) depending upon the provider you are using. However, if you are using the Active Directory Provider you will be required to modify the schema of either the Active Directory or ADAM to store the Password Question and Password Answer.  Then in the web config file you will need map the Password Question and Answer’s attributes to the modified schema as shown below:</p>
<p>&#60;membership defaultProvider=&#8221;ADAMProvider&#8221;&#62;<br />
   &#60;providers&#62;<br />
      &#60;add<br />
         connectionStringName=&#8221;ADCnString&#8221;<br />
         connectionUsername=&#8221;CN=ADAdmin,OU=Users,O=ADAuth&#8221;<br />
         <a href="mailto:connectionPassword=Pass@word1">connectionPassword=Pass@word1</a><br />
         connectionProtection=&#8221;None&#8221;<br />
         requiresQuestionAndAnswer=&#8221;true&#8221;<br />
         enablePasswordReset=&#8221;true&#8221;<br />
         attributeMapPasswordQuestion=&#8221;PwdQuestion&#8221;<br />
         attributeMapPasswordAnswer=&#8221;PwdAnswer&#8221; &#8230;<br />
 </p>
<p>Example Schema Modification:</p>
<p>Creating the PwdQuestion and PwdAnswer attribute as defined above is not difficult in the ADAM ADSI Edit tool under the Schema configuration, but initially it takes a while to figure out what values required by the attribute schema wizard.  Below is an example of the values that you can use in your Active Directory or ADAM directory.</p>
<p>    cn:  PwdQuestion<br />
    OMSyntax: 64 (for Unicode string)<br />
    lDAPDisplayName: PwdQuestion<br />
    isSingleValued: TRUE<br />
    AttributeSyntax: 2.5.5.12 (Active Directory syntax type of Unicode)<br />
    AttributeID: 1.2.840.113556.1.6.1.1.6221 (Unique Object Identifiers (OIDs))</p>
<p>    cn:  PwdAnswer<br />
    OMSyntax: 64 (for Unicode string)<br />
    lDAPDisplayName: PwdAnswer<br />
    isSingleValued: TRUE<br />
    AttributeSyntax: 2.5.5.12<br />
    AttributeID: 1.2.840.113556.1.6.1.1.6222</p>
<p>Schema modifications:<br />
Creating the Failed Password Count, Failed Password Answer Time and Failed Password Locked Out Time attributes&#8211;as defined below&#8211;is not difficult in the ADAM ADSI Edit tool under the Schema configuration, but initially it takes a while to figure out what values are required by the attribute schema wizard. Below is an example of the values that you can use in your Active Directory or ADAM directory.</p>
<p>cn: FailedPwdCount<br />
OMSyntax: 2 (for type integer)<br />
lDAPDisplayName: FailedPwdCount<br />
isSingleValued: TRUE<br />
AttributeSyntax: 2.5.5.9 (Active Directory syntax type of Unicode)<br />
AttributeID: 1.2.840.113556.1.6.1.1.6223 (Unique Object Identifiers (OIDs))</p>
<p>cn: FailedPwdAnswerTime<br />
OMSyntax: 65 (for Large integer/Interval)<br />
lDAPDisplayName: FailedPwdAnswerTime<br />
isSingleValued: TRUE<br />
AttributeSyntax: 2.5.5.16<br />
AttributeID: 1.2.840.113556.1.6.1.1.6224</p>
<p>cn: FailedPwdLockOutTime<br />
OMSyntax: 65 (for Large integer/Interval)<br />
lDAPDisplayName: FailedPwdLockOutTime<br />
isSingleValued: TRUE<br />
AttributeSyntax: 2.5.5.16<br />
AttributeID: 1.2.840.113556.1.6.1.1.6225</p>
<p>Modify Web Config File:<br />
When using the Active Directory Provider you will be required to modify the Web config to map the Failed Password Answer Count, Failed Password Answer Time and Failed Password Answer Lockout Time attributes to the appropriate User’s properties (as created above) in either your Active Directory or ADAM.</p>
<p>&#60;membership defaultProvider=&#8221;ADAMProvider&#8221;&#62;<br />
   &#60;providers&#62;<br />
      &#60;add</p>
<p>connectionStringName=&#8221;ADCnString&#8221;<br />
connectionUsername=&#8221;CN=ADAdmin,OU=Users,O=ADAuth&#8221;<br />
connectionPassword=Pass@word1<br />
connectionProtection=&#8221;None&#8221;<br />
requiresQuestionAndAnswer=&#8221;true&#8221;<br />
enablePasswordReset=&#8221;true&#8221;<br />
attributeMapPasswordQuestion=&#8221;PwdQuestion&#8221;<br />
attributeMapPasswordAnswer=&#8221;PwdAnswer&#8221;<br />
attributeMapFailedPasswordAnswerCount=&#8221;FailedPwdCount&#8221; attributeMapFailedPasswordAnswerTime=&#8221;FailedPwdAnswerTime&#8221;<br />
attributeMapFailedPasswordAnswerLockoutTime=&#8221;FailedPwdLockOutTime&#8221;</p>
<p>(Adding the attributes to the user clasee)</p>
<p>From the Schema Console, click the Class folder. Scroll down to the User class, right-click it, and select Properties. On the <em>user Properties</em> dialog box, click the Attributes tab, which <a href="http://windowsitpro.com/Files/11/9738/figure_07.gif">Figure 7</a> shows. Click Add, then choose the Gender attribute. Click OK twice, and you&#8217;ve successfully added the Gender attribute to the User class.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Issues setting up the CFK Forms Based Authentication Solution]]></title>
<link>http://blog.brianfarnhill.com/2009/09/16/issues-setting-up-the-cfk-forms-based-authentication-solution/</link>
<pubDate>Wed, 16 Sep 2009 00:34:58 +0000</pubDate>
<dc:creator>Brian Farnhill</dc:creator>
<guid>http://blog.brianfarnhill.com/2009/09/16/issues-setting-up-the-cfk-forms-based-authentication-solution/</guid>
<description><![CDATA[I&#8217;ve been spending some time looking at the Forms Based Authentication solution that is part o]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve been spending some time looking at the Forms Based Authentication solution that is part of the CKS &#8211; it has some great web parts and management forms for working with forms based authentication in SharePoint &#8211; but I did find that there are a couple of things to make sure you do before everything will work for you correctly that I thought I would share here.</p>
<p><strong>When activating the user management feature you get an error about a dependant feature not being installed</strong></p>
<p>When you run the setup script you might find that you get yourself into some trouble when the feature &#8220;FBAManagementSelf&#8221; tries to activate, complaining that a feature that is a dependency of this one is not installed. Technically this is true, the feature it is looking for isn&#8217;t installed and that is because it was cut from the solution. So the fix here is to update the feature.xml file and remove the dependency. Browse to 12\TEMPLATE\FEATURES\FBAManagementSelf in windows explorer and open feature.xml and remove these lines:</p>
<pre class="brush: xml;">
&lt;ActivationDependency FeatureId=&quot;01AA8D8B-000A-4c35-8F4F-5D1280377650&quot; /&gt;
&lt;!--  My Settings Save Override  --&gt;
</pre>
<p><strong>&#8220;Object reference not set to instance of an object&#8221; error on FBA User Management page</strong></p>
<p>This one had me stumped for a short while, but wasn&#8217;t too hard to figure out. Basically what was happening when I clicked on the link from the site settings page I would keep getting the good old NullReferenceException error message there &#8211; after downloading the source code and debugging this it became pretty easy to figure out. Basically what this page is doing by default is showing a list of users in the current site that are forms based authentication users &#8211; so if none of your FBA users exist in the user info list in the site, then there will be nothing returned and the exception is thrown.</p>
<p>The fix is easy &#8211; go in and grant one of your FBA users permission to the site somewhere. This will add them to the list and then when you browse back to the page you will find the exception is gone and you can see the list now.</p>
<p>Apart from that the install and setup was fine for me, just set up your forms based authentication source just like you would normally, and then install this solution to get all the extra goodies and you are off and running!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Back to Work...]]></title>
<link>http://mdasblog.wordpress.com/2009/04/01/back-to-work/</link>
<pubDate>Wed, 01 Apr 2009 19:15:29 +0000</pubDate>
<dc:creator>Marc</dc:creator>
<guid>http://mdasblog.wordpress.com/2009/04/01/back-to-work/</guid>
<description><![CDATA[I&#8217;ve been off in Costa Rica sunning and exploring for a few weeks, but now I&#8217;m back and ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve been off in Costa Rica sunning and exploring for a few weeks, but now I&#8217;m back and it&#8217;s time to get back to work!</p>
<p>The first thing I wanted to post about is a new blog you might want to check out.  My partner in <span style="text-decoration:line-through;">crime</span> Sympraxis Consulting has, after a little urging, started his own blog at <a href="http://psterpe.wordpress.com">http://psterpe.wordpress.com</a>.  Pete&#8217;s a much better writer than I, so if you watch his blog, I&#8217;m certain that you&#8217;ll not only learn a few things, but also enjoy the experience.  Pete&#8217;s first set of posts is about <a title="Permanent Link: Adventures in SharePoint Forms Based Authentication - Part 1" rel="bookmark" href="http://psterpe.wordpress.com/2009/03/05/adventures-in-sharepoint-forms-based-authentication-part-1/"><span style="color:#676e04;">Adventures in SharePoint Forms Based Authentication</span></a>.  If you read through these four posts, you should have a good understanding of the basics of FBA.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Content Managment With SharePoint And Kentico]]></title>
<link>http://openlandscape.wordpress.com/2009/03/11/content-managment-with-sharepoint-and-kentico/</link>
<pubDate>Wed, 11 Mar 2009 16:02:15 +0000</pubDate>
<dc:creator>openlandscape</dc:creator>
<guid>http://openlandscape.wordpress.com/2009/03/11/content-managment-with-sharepoint-and-kentico/</guid>
<description><![CDATA[Since I&#8217;ve joined Intervate Cape Town, I&#8217;ve been assigned to three projects. Two are Mic]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Since I&#8217;ve joined <a title="Intervate" href="http://www.intervate.com" target="_blank">Intervate Cape Town</a>, I&#8217;ve been assigned to three projects. Two are Microsoft Office SharePoint Server 2007 (MOSS) solutions, and a small web site based on the Kentico Content Management System (CMS). It&#8217;s been a while since I worked with MOSS, so I had to relearn a lot of things.  The one MOSS solution was an extranet application, that used Windows (Active Directory) and <strong>Forms Based Authentication (FBA)</strong>. Initially I was a bit confused at how SharePoint handles FBA, and to make matters worse there are some overlapping terms between FBA and the rest of SharePoint&#8217;s security model.</p>
<p>Here&#8217;s briefly what I learned:</p>
<ul>
<li>Permissions assigned to SharePoint groups and users are referred to as roles in the <strong><em>SharePoint Object Model (SOM)</em></strong>.</li>
<li>FBA, which is just standard ASP .NET Forms authentication, also has roles. These roles <em>correspond with SharePoint Security&#8217;s concept of a group</em>, and has nothing to do with SharePoint permissions.</li>
<li> SharePoint handles users and roles coming from ASP .NET Membership the same way as those coming from Windows AD. ASP .NET&#8217;s Membership becomes just another credential store to SharePoint.  You add an ASP .NET user/role in the same manner as you&#8217;d add a Windows AD user/group to a SharePoint user/group. When you search for users/groups you&#8217;ll notice that those coming from ASP .NET Membership are <em>prefixed with <strong>AspNetSqlRoleProvider</strong>:, or </em><em><strong>aspnetsqlmembershipprovider</strong>:</em> for ASP .NET roles, and users respectively.</li>
<li>It&#8217;s best to <strong><em>deploy SharePoint customizations using a SharePoint solution file (.wsp)</em></strong>. But where&#8217;s a good guide to explain how this works? Well, luckily we have good blogs like the <a href="http://paulsiu.wordpress.com/2009/03/06/sharepoint-solutions-file-wsp-schema" target="_blank">The Bonobo Journal</a> to explain it in layman&#8217;s terms.</li>
<li>Make sure you understand the <em><strong>do&#8217;s and don&#8217;ts of writing optimal code for SharePoint&#8217;s Object Model</strong></em>. Andreas Grabner from InfoQ did an <em><a title="SharePoint Object Model Performance Considerations" href="http://www.infoq.com/articles/SharePoint-Andreas-Grabner" target="_blank">excellent post</a></em> on this subject.</li>
</ul>
<p>The other project I got assigned to was done in <a title="Kentico" href="http://www.kentico.com" target="_blank"><strong><em>Kentico</em></strong></a>. Yes, I had the same confused expression when I heard about it. Turns out Kentico is a really neat .NET CMS that doesn&#8217;t get in your way. It&#8217;s jam packed with features, and has every standard web technology, like blogs and wikis, out of the box (and they are all really well implemented). What I really appreciate about Kentico is that it&#8217;s got a really well designed and simple architecture, based on standard ASP .NET components. When you <em>extend Kentico with custom code you literally open the Kentico Visual Studio solution and start creating ASP web pages (modules), and user controls (web parts)</em>. To debug something you just run the solution, and debug it as you&#8217;d do with any normal .NET web app. This enables developers to use a familiar development and deployment process.</p>
<p>Kentico <strong><em>arranges it&#8217;s web sites as a hierarchy of nodes</em></strong>. Each node has a document type (with its own table in the database), a form/data view, and a page/UI view. To retrieve any document is a straightforward matter:</p>
<pre class="brush: csharp;">

CMS.TreeEngine.TreeProvider tree = new CMS.TreeEngine.TreeProvider();

treeNode = tree.SelectSingleDocument(CMSContext.CurrentDocument.DocumentID);         

var nodeSet = tree.SelectNodes(CMSContext.CurrentSiteName, treeNode.NodeAliasPath + &quot;/%&quot;, treeNode.DocumentCulture, true, &quot;cms.file&quot;);
</pre>
<p>The above code finds the node of the current document shown to the user, and then retrieves all its child nodes. This kind of simplicity is found throughout Kentico, from the application itself, right down to the database. It also provides multiple extension points. You can <em>use the application itself to create new document types, and plug your own code in without using Visual Studio</em>. Your other options are to <em>write your own web parts, and modules in Visual Studio</em>. And lastly if you really wanted to, you can <em>directly query the database</em>. Corresponding directly with the database should not be your first choice, but <em>Kentico provides a database API</em> that assists you in this regard.</p>
<p>The <em><strong>deployment process</strong></em> is also as easy as it gets. To install Kentico you can either use the setup file, or just copy your solution over and connect it to the database. From there on you just export your sites, and import them again on the target server. And yes, <em>Kentico even exports/imports any custom classes that you might have added to it&#8217;s Visual Studio solution</em>.</p>
<p>And if you think Kentico is only for small web sites, think again. There&#8217;s support for load balancing and <em><strong>server farms</strong></em>. Definitely give Kentico&#8217;s free version a try next time your client doesn&#8217;t demand SharePoint.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to Hide Forms Based Authentication "Sign me in automatically" check box]]></title>
<link>http://isaacblum.wordpress.com/2009/02/18/how-to-hide-forms-based-authentication-sign-me-in-automatically-check-box/</link>
<pubDate>Wed, 18 Feb 2009 01:42:52 +0000</pubDate>
<dc:creator>IsaacBlum</dc:creator>
<guid>http://isaacblum.wordpress.com/2009/02/18/how-to-hide-forms-based-authentication-sign-me-in-automatically-check-box/</guid>
<description><![CDATA[This was the code i used.   &lt;tr style=&#8221;display:none&#8221;&gt;             &lt;td colSpan=2]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="ctl00_phInnerBottom_BlogPosts1_ctl00_ctl00_pnlContent">
<p>This was the code i used. </p>
<p> &#60;tr style=&#8221;display:none&#8221;&#62;<br />
            &#60;td colSpan=2&#62;&#60;asp:CheckBox id=RememberMe text=&#8221;&#60;%$SPHtmlEncodedResources:wss,login_pageRememberMe%&#62;&#8221; runat=server /&#62;&#60;/td&#62;<br />
        &#60;/tr&#62;<br />
        &#60;/table&#62;<br />
  &#60;script type=&#8221;text/javascript&#8221;&#62;<br />
  document.getElementById(&#8220;ctl00_PlaceHolderMain_login_RememberMe&#8221;).checked=true;<br />
  &#60;/script&#62;<br />
    &#60;/layouttemplate&#62;</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Configuring Forms Based Authentication on MOSS 2007]]></title>
<link>http://technicallead.wordpress.com/2008/11/25/configuring-forms-based-authentication-on-moss-2007/</link>
<pubDate>Tue, 25 Nov 2008 20:01:09 +0000</pubDate>
<dc:creator>Francois H. Pienaar</dc:creator>
<guid>http://technicallead.wordpress.com/2008/11/25/configuring-forms-based-authentication-on-moss-2007/</guid>
<description><![CDATA[Configuring FBA on MOSS 2007 is fairly straight forward, but if you do not pay attention to each ste]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Configuring FBA on MOSS 2007 is fairly straight forward, but if you do not pay attention to each step, you could be in a world of pain.  I found the configuration pretty simple and the value it gives the organisation immense.</p>
<p>I did however run into one small issue on my initial testing server.  The famous &#8220;Uknown Error&#8221;.  This error occurred as I tried to authenticate my user.  Turns out I had forgotten to give the application pool identity rights to the custom database created for my FBA user store.  Once allocated all worked like a charm.</p>
<p>I couldn&#8217;t find anything on the net about this so either everyone started from scratch when they saw this error or simply haven&#8217;t run into it.  In any event, hope this helps!</p>
<p>//11 November 2009//</p>
<p>Found this really good post on step by step configuration of FBA.  Just thought I&#8217;d add it &#8211; <a href="http://www.simple-talk.com/dotnet/windows-forms/configuring-forms-authentication-in-sharepoint-2007/">http://www.simple-talk.com/dotnet/windows-forms/configuring-forms-authentication-in-sharepoint-2007/</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Form Based Authentication in SharePoint]]></title>
<link>http://sundium.wordpress.com/2008/10/09/form-based-authentication-in-sharepoint/</link>
<pubDate>Thu, 09 Oct 2008 05:55:49 +0000</pubDate>
<dc:creator>jsun027</dc:creator>
<guid>http://sundium.wordpress.com/2008/10/09/form-based-authentication-in-sharepoint/</guid>
<description><![CDATA[This post serves me as a list of items to do when configuring FBA from scratch in SharePoint. It is ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This post serves me as a list of items to do when configuring FBA from scratch in SharePoint. It is by no means self explanatory or exhaustive.</p>
<p>1. Create a new web application call it Intranet, extend it and call that Extranet. Extranet is to live in Extranet zone.</p>
<p>2. Run &#8220;aspnet_regsql.exe -E -A all -S DatabaseServerName&#8221;</p>
<p><a href="http://sundium.files.wordpress.com/2008/10/image9.png"><img style="border:0;" src="http://sundium.files.wordpress.com/2008/10/image-thumb9.png?w=518&#038;h=201" border="0" alt="image" width="518" height="201" /></a></p>
<p>3. Create web application proj in VS to add users via Website ASP.NET Web Configuration. In web.config of this web app set authentication mode = &#8220;Forms&#8221;, and add connection string setting to the database created in step 2.</p>
<p>4. In Extranet and central admin web.config</p>
<p>Add the following two blocks of configuration settings.</p>
<div style="font-size:8pt;overflow:auto;width:97.5%;cursor:text;max-height:200px;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border:gray 1px solid;margin:20px 0 10px;padding:4px;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">&#60;system.web&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"> </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">  &#60;!-- membership provider --&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">  &#60;membership defaultProvider=<span style="color:#006080;">"AspnetSqlMembershipProvider"</span>&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">    &#60;providers&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">      &#60;remove name=<span style="color:#006080;">"AspnetSqlMembershipProvider"</span> /&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">      &#60;add name=<span style="color:#006080;">"AspnetSqlMembershipProvider"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">           type=<span style="color:#006080;">"System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">           passwordStrengthRegularExpression=<span style="color:#006080;">""</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">           connectionStringName=<span style="color:#006080;">"SqlProviderConnection"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">           passwordAttemptWindow=<span style="color:#006080;">"10"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">           enablePasswordRetrieval=<span style="color:#006080;">"false"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">           enablePasswordReset=<span style="color:#006080;">"true"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">           requiresQuestionAndAnswer=<span style="color:#006080;">"false"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">           applicationName=<span style="color:#006080;">"/"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">           requiresUniqueEmail=<span style="color:#006080;">"false"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">           passwordFormat=<span style="color:#006080;">"Hashed"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">           minRequiredPasswordLength=<span style="color:#006080;">"3"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">           minRequiredNonalphanumericCharacters=<span style="color:#006080;">"0"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">           /&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">    &#60;/providers&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">  &#60;/membership&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;"> </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">  &#60;!-- role provider --&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">  &#60;roleManager enabled=<span style="color:#006080;">"true"</span> defaultProvider=<span style="color:#006080;">"AspnetSqlRoleProvider"</span>&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">    &#60;providers&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">      &#60;remove name=<span style="color:#006080;">"AspnetSqlRoleProvider"</span>/&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">      &#60;add name=<span style="color:#006080;">"AspnetSqlRoleProvider"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">           connectionStringName=<span style="color:#006080;">"SqlProviderConnection"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">           applicationName=<span style="color:#006080;">"/"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">           type=<span style="color:#006080;">"System.Web.Security.SqlRoleProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a"</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">           /&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">    &#60;/providers&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">  &#60;/roleManager&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;"> </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">  &#60;!-- other settings --&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;"> </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">&#60;/system.web&#62;</pre>
</div>
</div>
<div style="font-size:8pt;overflow:auto;width:97.5%;cursor:text;max-height:200px;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border:gray 1px solid;margin:20px 0 10px;padding:4px;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">&#60;configuration&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">&#60;connectionStrings&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">  &#60;add name=<span style="color:#006080;">"SqlProviderConnection"</span> connectionString=<span style="color:#006080;">"Data Source=VM-WSSDEV;Initial Catalog=AspNetDb_FBASpike;Integrated Security=True"</span> /&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;">&#60;/connectionStrings&#62;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">&#60;/configuration&#62;</pre>
</div>
</div>
<p>5. In central Admin</p>
<p><a href="http://sundium.files.wordpress.com/2008/10/image6.png"><img style="border:0;" src="http://sundium.files.wordpress.com/2008/10/image-thumb6.png?w=536&#038;h=474" border="0" alt="image" width="536" height="474" /></a></p>
<p>6. Add app pool identity user to sql server  assign dbo role to the database created in 2.</p>
<p><a href="http://sundium.files.wordpress.com/2008/10/image10.png"><img style="border:0;" src="http://sundium.files.wordpress.com/2008/10/image-thumb10.png?w=503&#038;h=483" border="0" alt="image" width="503" height="483" /></a></p>
<p>7. Add users created in step 3 to Site Collection Admin</p>
<p><a href="http://sundium.files.wordpress.com/2008/10/image11.png"><img style="border:0;" src="http://sundium.files.wordpress.com/2008/10/image-thumb11.png?w=568&#038;h=365" border="0" alt="image" width="568" height="365" /></a></p>
<p>8. Download and deploy <a href="http://www.codeplex.com/fba">FBA Tools and Utils for SharePoint 2007</a> to manage users, roles within SharePoint.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:6b555680-eca4-4396-b4c5-01f5e9b69b18" class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/SharePoint">SharePoint</a>, <a href="http://technorati.com/tags/MOSS">MOSS</a>, <a href="http://technorati.com/tags/WSS">WSS</a>, <a rel="tag" href="http://technorati.com/tags/Form%20Based%20Authentication">Form Based Authentication</a>, <a rel="tag" href="http://technorati.com/tags/FBA">FBA</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Host Header problems and FBA quirks]]></title>
<link>http://slingeronline.wordpress.com/2008/05/13/host-header-problems-and-fba-quirks/</link>
<pubDate>Tue, 13 May 2008 17:35:15 +0000</pubDate>
<dc:creator>slinger</dc:creator>
<guid>http://slingeronline.wordpress.com/2008/05/13/host-header-problems-and-fba-quirks/</guid>
<description><![CDATA[Two for the price of one today! Now don&#8217;t you feel special? Well, I decided that I wanted to a]]></description>
<content:encoded><![CDATA[Two for the price of one today! Now don&#8217;t you feel special? Well, I decided that I wanted to a]]></content:encoded>
</item>
<item>
<title><![CDATA[Adding a Change Password function for Forms Based Authentication users.]]></title>
<link>http://slingeronline.wordpress.com/2008/03/27/adding-a-change-password-function-for-forms-based-authentication-users/</link>
<pubDate>Thu, 27 Mar 2008 14:53:48 +0000</pubDate>
<dc:creator>slinger</dc:creator>
<guid>http://slingeronline.wordpress.com/2008/03/27/adding-a-change-password-function-for-forms-based-authentication-users/</guid>
<description><![CDATA[We have a MOSS site with Dual Authentication.  Internal users authenticate against the Active Direct]]></description>
<content:encoded><![CDATA[We have a MOSS site with Dual Authentication.  Internal users authenticate against the Active Direct]]></content:encoded>
</item>
<item>
<title><![CDATA[Probleme mit Opera Mini Browser]]></title>
<link>http://portaleco.wordpress.com/2007/12/06/probleme-mit-opera-mini-browser/</link>
<pubDate>Thu, 06 Dec 2007 17:50:16 +0000</pubDate>
<dc:creator>portaleco</dc:creator>
<guid>http://portaleco.wordpress.com/2007/12/06/probleme-mit-opera-mini-browser/</guid>
<description><![CDATA[ Zoom In         Whole Page Overview     In der Version Opera Mini 4.0 werden Sharepoint Seiten in d]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p> Zoom In  <a href="http://portaleco.wordpress.com/files/2007/12/portaleco-eval-d_small.jpg" title="Portaleco Evaluation Detail"><img src="http://portaleco.wordpress.com/files/2007/12/portaleco-eval-d_small.thumbnail.jpg" alt="Portaleco Evaluation Detail" /></a>       Whole Page Overview <a href="http://portaleco.wordpress.com/files/2007/12/portaleco-eval-o_small.jpg" title="Portaleco Evaluation Overview"><img src="http://portaleco.wordpress.com/files/2007/12/portaleco-eval-o_small.thumbnail.jpg" alt="Portaleco Evaluation Overview" /></a>   </p>
<p>In der Version Opera Mini 4.0 werden Sharepoint Seiten in der Regel korrekt angezeigt. In der <a href="http://www.portaleco.eu/evaluation" title="Portaleco Evaluation Home">Beispielseite </a> oben werden jedoch nicht alle eingebetteten JavaScrips (Gadgets, Widgets usw) korrekt dargestellt. Das Google Custom Search Widget funktioniert einwandfrei während das Laufschrift Gadget auf dem Handy nicht angezeigt werden kann, da dieses Gadget spezielle Funktionen aufruft, die auf dem Handy nicht verfügbar sind. Leider gibt es noch keine Listen, welche Gadgets und Widgets auf Handys mit Symbian Betriebssystem einwandfrei laufen. Da hilft nur ausprobieren. Im Allgemeinen funktionieren Java Script mit einfachen Eingabfeldern und Push Buttons. </p>
<p>Das Prinzip des Transcoding Servers macht auch Probleme beim Login zu gesicherten Websites. Sharepoint Sites können vom Provider unterschiedlich konfiguriert werden für die Benutzerauthentisierung. Für Basic Authentication werden im Google Mini Benutzername und Passwort optional im Handy gespeichert, sodaß der Benutzer diese nicht immer wieder eingeben muss. Forms Based Login, das bei MOSS 2007 gerne verwendet wird, ist kritisch und funktioniert häufig auch auf dem Opera PC Browser nicht, da Opera weniger tolerant gegenüber falsch aufgesetzten Servern ist als etwa der Internet Explorer oder Firefox Browser.  Dies führt dazu, dass Benutzername und Passwort nicht gespeichert werden oder dass der Zugriff überhaupt nicht möglich ist. Da hilft wiederum nur ausprobieren. Es hilft dabei auch nicht, auf den kostenpflichtigen Opera Mobile Browser umzusteigen, da die beiden Versionen des Opera Mobile Browser  die gleichen Basiskomponenten verwenden.</p>
<p>Falls der Zugriff zu einem gesicherten Sharepoint Portal (speziell MOSS 2007) überhaupt nicht funktioniert, kann eigentlich nur der Hosting Provider helfen.      </p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
