<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://trycatch.be/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>Search results matching tags 'SharePoint', 'Authentication', and 'FBA'</title><link>http://trycatch.be/search/SearchResults.aspx?a=1&amp;o=DateDescending&amp;tag=SharePoint,Authentication,FBA&amp;orTags=0</link><description>Search results matching tags 'SharePoint', 'Authentication', and 'FBA'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008 SP2 (Build: 31104.93)</generator><item><title>FBA authorization fails when permission inheritance is cut</title><link>http://trycatch.be/blogs/tom/archive/2008/10/03/fba-authorization-fails-when-permission-inheritance-is-cut.aspx</link><pubDate>Fri, 03 Oct 2008 14:01:00 GMT</pubDate><guid isPermaLink="false">12bbda7a-b33b-4de2-8627-f5e32a6b90ff:647</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;I experienced the strangest thing (read: annoying) with Forms Based Authentication. &lt;/p&gt;
&lt;p&gt;&lt;b&gt;This is the scenario:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;We have a SharePoint Web Application with some Site Collections on it, using Windows Authentication (for internal employees). That Web Application is extended to a second Web Application, that one using Forms Based Authentication, with the accounts residing in a SQL Server database.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;This is the problem:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;When we add FBA accounts to subsites that have unique permissions (so inheritance is cut from the above site or site collection), it&amp;#39;s not possible to log in. Basically, these FBA accounts are not known on the top level Site Collection. Authentication works (you can actually see: Access Denied, logged in as user ...), but authorization doesn&amp;#39;t...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;This is the solution:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;We made an extra FBA Role, containing all the FBA accounts. Then we added that role to the top level Site Collection. Of course, we didn&amp;#39;t want users to log in to our top level site. So we created a new Permission Level, having so little permissions, that logging in wasn&amp;#39;t possible.&lt;/p&gt;
&lt;p&gt;From then on, everything worked like a charm.&lt;br /&gt;&lt;br /&gt;Keep on trucking&lt;br /&gt;Tom&lt;/p&gt;</description></item><item><title>Alternate Access Mappings</title><link>http://trycatch.be/blogs/tom/archive/2007/04/28/alternate-access-mappings.aspx</link><pubDate>Sat, 28 Apr 2007 05:13:00 GMT</pubDate><guid isPermaLink="false">12bbda7a-b33b-4de2-8627-f5e32a6b90ff:25</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Alternate Access Mappings (AAM) in SharePoint 2007can sometimes act a bit strange. It doesn&amp;#39;t seem always be that logical. This is a real life example how I had to set up the AAM in order to meet the client&amp;#39;s needs.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Situation:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;A Intranet Portal, published on port 80, Windows authentication.&lt;br /&gt;A second Web Application, which has been extended from the first one, on port 82 and configured to use Forms Based Authentication.&lt;br /&gt;&lt;br /&gt;At that point, the AAM is setup as followed:&lt;br /&gt;- Default zone: http://servername&lt;br /&gt;- Extranet zone: http://www.trycatch.be&lt;br /&gt;&lt;br /&gt;But, www.trycatch.be is not known be the internal DNS and will not be. It is used to publish the site to the internet.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;They wanted to make the Forms Based Authentication site also available from inside the domain, at a following way:&lt;br /&gt;http://servername:82&lt;/p&gt;&lt;p&gt;The problem existed, that if you add and extra internal URL, on let&amp;#39;s say an Intranet zone for http://servername:82, it gets redirected to port 80, getting that darn Windows authentication again.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;So, how do you set your AAM? Like this:&lt;/p&gt;&lt;p&gt;- Make you Default zone: http://servername:82&lt;br /&gt;- Make in Intranet zone: http://servername&lt;br /&gt;- The Extranet zone is still: http://www.trycatch.be&lt;br /&gt;&lt;br /&gt;Then it&amp;#39;s possible to access the Windows authentication and the Forms Based Authentication from the inside and the published outside.&lt;br /&gt;&lt;br /&gt;Keep on dancing&lt;br /&gt;Tom&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Forms Based Authentication</title><link>http://trycatch.be/blogs/tom/archive/2007/04/17/forms-based-authentication.aspx</link><pubDate>Tue, 17 Apr 2007 09:54:00 GMT</pubDate><guid isPermaLink="false">12bbda7a-b33b-4de2-8627-f5e32a6b90ff:15</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;There have been several blog posts about the implementation and the use of Forms Based Authentication in a SharePoint environment. Last two days I have been digging into FBA because there is obviously a growing interest among companies about this authentication method.&lt;br /&gt;&lt;br /&gt;To start of I found a great help (must read!) in 2 posts by Dan Attis about setting up FBA and how to enable MySites and Personalization features for your FBA users:&lt;br /&gt;&lt;a href="http://devcow.com/blogs/jdattis/archive/2007/02/23/Office_SharePoint_Server_2007_Forms_Based_Authentication_FBA_Walkthrough_Part_1.aspx" title="Part 1" target="_blank"&gt;Part 1&lt;/a&gt;&lt;br /&gt;&lt;a href="http://devcow.com/blogs/jdattis/archive/2007/03/01/Office_SharePoint_Server_2007_Forms_Based_Authentication_FBA_w_MySites_Walkthrough_Part_2.aspx" title="Part 2" target="_blank"&gt;Part 2&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;Dan&amp;#39;s primary purpose was about serving the customers, as in making the FBA part the most important one. &lt;br /&gt;Well, I like to turn things around.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Situation:&lt;/b&gt; &lt;br /&gt;You&amp;#39;re working at a company with a bunch of freelancers. Let&amp;#39;s say a newspaper. When  a freelancer works for you, you would like to give him access to your SharePoint environment. Since you use a lot of freelancers (and not always for a long time) you don&amp;#39;t want to put them into your Active Directory.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Setup:&lt;/b&gt; &lt;br /&gt;You have an intranet portal. All your (&amp;quot;real&amp;quot;) employees are registered in Active Directory and they are using MySites and Personalization features. Your freelancers don&amp;#39;t need MySites nor Personalization features, since they are never long enough around to use them properly.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to:&lt;/b&gt; (I will not go too detailed, since all the pure technical steps are beautifully described in the posts by Dan Attis)&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Create a User database and some users.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Extend the already existing portal, creating a new IIS web site. (You can choose port and host header as you like)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Choose &amp;quot;Extranet&amp;quot; as zone in the Load Balanced URL section.&lt;/li&gt;&lt;li&gt;Add the connectionStrings entry and the Membership and Role Provider sections to the web.config file of the newly created Web Application AND to the web.config file of the Central Administration Web Application.&lt;/li&gt;&lt;li&gt;In the Central Administration web.config, change the default RoleManager to &amp;quot;AspNetWindowsTokenProvider&amp;quot;&lt;/li&gt;&lt;li&gt;In Application Management, change the Authentication Provider for the Extranet zone to Forms and enter the Membership and Role Provider names.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;You&amp;#39;re ready to go.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;b&gt;Thoughts and problems:&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;It is not possible to enable MySites and Personalization features for both Active Directory users and FBA users. That is because the SSP has to be changed to Forms Based Authentication itself. (In our situation, it wasn&amp;#39;t required anyway &lt;img src="http://trycatch.be/emoticons/emotion-5.gif" alt="Wink" /&gt;) It would require separate SSP&amp;#39;s to accomplish this.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In our situation, the search works because it uses the Windows Based Authentication site to crawl. When going completely Forms Based, additional configuration would be required. But, searching into FBA sites (for example FBA Mysites) still causes problems.&lt;/li&gt;&lt;li&gt;User Administration. Well, you could write something yourself to access and administer the SQL Database. Or you could go to this &lt;a href="http://www.codeplex.com/MOSSFormsFeature" title="link" target="_blank"&gt;link&lt;/a&gt; and use the webpart. Although it&amp;#39;s still pretty basic, it has some cool features.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;I&amp;#39;ve just begun to explore FBA, so probably more posts to come. So I give it a &lt;/p&gt;&lt;p&gt;To be continued...&lt;/p&gt;&lt;p&gt;Keep on rocking&lt;br /&gt;Tom&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>