Using My Sites with Forms Based Authentication 

Tags:

 

I recently researched the feasibility of using My Sites for sites using Forms Based Authentication.  We are seeing clients who want to leverage My Sites in an extranet scenario where users are not in Active Directory.  I thought I would share my experience from what I found when looking into using Forms Based Authentication with My Sites.

 

I used a handful of blog posts to support this endeavor.

 

HOWTO: Configuring a Office SharePoint Server 2007 Publishing Site with Dual Authentication Providers and Anonymous Access – Andrew Connell

 

Moving your MySite location in MOSS – Chris Johnson

 

Office SharePoint Server 2007 - Forms Based Authentication (FBA) w/MySites Walk-through - Part 2 – Dan Attis

 

These posts were very helpful but required a few tweaks for my case.

 

I first experimented with creating My Sites in a different web application from the public facing site. It is recommended that My Sites be in their own web application to allow for scalability (segregating My Sites across web applications by Audience for example) and so that all of the My Site site collections can be backed up/restored independent of other site collections.

 

Using help from the blog posts above, I converted my My Sites web application, My SSP, and my public facing site to all three support forms based authentication only (as suggested). The first result I noticed was that the sites required users to authenticate when going from the public facing site over to the My Site. Further, the user had to authenticate if they returned to the public site such as was the case if they invoked a search using the default Search Center.

 

To enable crawling of My Sites, I had to configure a crawl rule to tell the search engine how to authenticate. Usually you have to use AddRule.exe for this. But thankfully, the recently released Infrastructure Update for Microsoft Office Servers (KB951297) provides updates to the crawl rules user interface to allow you to more easily create a craw rule for Search of sites requiring forms based authentication.

 

The steps are:

 

- Add the URL of the site to crawl to your list of Content Sources
- Create a Crawl Rule for your site including the URL of the site as the selection criteria
- Select the radio button to "Include all items in this path"
- Select "Specify form credentials", input the Login URL of the site and click Enter Credentials.
- A popup window is supposed to appear with your Login page enclosed.
- You should login to the site and click OK when asked if the login was successful.

 

This was easier said than done in my case. The form would not pop-up. I only got a nice blue circler next to the Enter Credentials button. I would eventually have to end-task on Internet Explorer.

 

To remedy, you must use the following login url, http://<yourserver>/_layouts/login.aspx?ReturnUrl=%2f_layouts%2fAuthenticate.aspx%3fSource%3d%252f, instead of the default URL you see when you try to login, http://<yourserver>/_layouts/login.aspx?ReturnUrl=%2f_layouts%2fAuthenticate.aspx%3fSource%3d%252f&Source=%2f. Evidently, that last query string parameter causes the trouble.

 

In the end though, crawling My Sites using forms based authentication was not viable because the crawling capability depends upon the authorization of the user specified in the crawl rule. The user specified (using forms based authentication) is Site Collection Administrator of his own site (and none others) and does not have a view of all My Site site collections. There are ways to provide the crawler with a view of other My Sites such as adding links to these sites on the My Site page of the crawl user, but this does not work around the fact that this user is not a Site Collection Administrator of each site collection and so will not have access to personal content on other users' My Sites. Then if you are able to work around this (by adding this user as Site Collection Administrator to all of the My Sites) you will find that the search results are not security trimmed. To solve this last hurdle you'll need to create a custom security trimmer. At this point I decided to punt and take a different approach.

 

My second experiment was to configure My Sites to exist in the same web application as my public facing site. See Chris Johnson's post for details. The only tweak I had to follow was to go to the My Site Host Permissions page from the My Site Settings page and add the user groups who may be creating My Sites to the MySiteHost Members group. I also configured my SSP, public facing site, and My Site to support both Windows Auth and Forms Auth.

 

Success! With this configuration my users can seamlessly navigate from the public site to their My Site and then back to Search Center. Using the default Local Office SharePoint Server sites content source, the search crawl correctly crawled over My Site contents, security trimmed the results, and included the correct URL in the results. I expected that I would need to implement URL mapping because the crawler had crawled the content from the Windows Auth side but the results were being presented on the Forms Auth side. SharePoint took care of this!

 
Posted by Eric Bowden on 25-Jul-08
11 Comments  |  Trackback Url  |  Link to this post | Bookmark this post with:        
 

Links to this post

Comments


wow commented on Thursday, 30-Oct-2008
lc Welcome to wow gold. We are a world class wow powerleveling store online. We supply cheap wow gold to our loyal and World of Warcraft goldreliable customers. you canwow power leveling buy really cheapwow gold wow gold here. We havewow power leveling mass available stock ofwow power leveling wow gold onwow power leveling most of the servers, sowow power leveling that we can do aRolex really instant way of wow power levelingwow gold wow golddelivery. We canwow powerleveling deliver yourwow powerleveling wow gold on powerlevelingthe order powerlevelingin a short cheap wow goldwhile. We have beencheap wow gold an ebay powerpower leveling seller and paypalpower leveling confirmed seller rolex replicaof wow gold for replica rolexyears.So it ischeap wow gold securest and safestRunescape Gold to buy RuneScape Money wow gold from Watches Rolexus. Don’t be Rolex Watchesirresolute! We arewow gold hoping to servegold wow you and helpingWatch Rolex you to have a wonderfulRolex Watch wow life! We arers gold ready now, how about you?


thanh99 commented on Wednesday, 19-Nov-2008

dofus kamas commented on Monday, 22-Dec-2008
The Angels confirmedwow goldSunday that they have pulled out of the bidding for freewow goldagent Mark Teixeira's services. Team spokesmanwow goldTim Mead said the club would have no furtherwow goldcomment today.The club withdrew its offer of eightwow goldyears in the $160 million range forwow goldthe 28-year-old first baseman.


dofus kamas commented on Monday, 22-Dec-2008

風俗 commented on Thursday, 25-Dec-2008
本日は専務からどやされました。ほんと上ってやつは、 新橋 風俗 小岩 風俗 なんにも理解していないのに口出しだけはよくするもんなあ。ほんと腹が立つ。 千葉 デリヘル 大塚 風俗 話題は変わって、最近興味があるのが風俗。 厚木 風俗 吉祥寺 風俗 気になったものは早速調べるというわけでパソコン使っていろいろ調べていました。 鶯谷 デリヘル 巣鴨 風俗 いやあしかしネットっていい。風俗だけでなく、 品川 デリヘル 船橋 風俗 八王子 風俗 たいがい調べられます。風俗のページが多数発掘できました。この件はまた今度。 錦糸町 デリヘル 蒲田 風俗 柏 風俗 日暮里 風俗 池袋 デリヘル 上野 デリヘル 成田 風俗 五反田 デリヘル 葛西 デリヘル 市川 風俗 町田 デリヘル 秋葉原 風俗 松戸 風俗 池袋駅 風俗 立川 デリヘル 目黒 風俗 吉原 ソープ 北千住 風俗


oyun commented on Thursday, 25-Dec-2008
http://www.oyunambari.com/kategoriler_36_Giysi-Giydirme-Oyunlari.html


car wash commented on Monday, 29-Dec-2008
Best china wholesale service, quick wholesale delivery, nice wholesale products, is there anything more you can expect on this platform? This net will build up a link between you and you supplier so that to be sure you would have a satisfied wholesale clothingwholesale apparel trading. The account managers will take care of all your wholesale products questions, inquires and help you manage your account. We provid popular wholesale products such as wholesale watch and wholesale electronics. Different from other platforms, we also provide consumer electronics products, for example car electronics and digital camera. Meanwhile, we offer the best bluetooth phones and GPS Cellphone . Well begun is the half done. Please choose our platform to shorten your way to the successwholesale shoes,wholesale handbagsand wholesale toys
we offer chloe betty handbag,hermes handbags,gucci handbags,,balenciaga handbags,mulberry handbag,roxanne bag,hermes kelly bags,chloe betty bags ,miumiu bags,d&g handbags,fendi spy bag,chloe ascot handbag,hermes birkin,prada handbag,jimmy choo,leather wallets hermes we a supplier of those products.if you have any interest.contact ours Chinese antique furniture supplier and we can supplycar wash systems. car wash systems .car wash equipment. car wash equipment. automatic car wash .automatic car wash .car washing machine. car washing machine. car wash. car wash

楼梯有机玻璃电焊机硬度计测厚仪毛刷厂 毛刷毛刷北京汽车租赁防静电地板 白癜风 白癜风治疗货架 货架厂 网络地板 白癜风遮盖白癜风资讯白癜风资讯白癜风治疗有机玻璃加工数控切割机数控火焰切割机数控等离子切割机焊机健身器材 桶装水送水公司

工业毛刷 尖锐湿疣 尖锐湿疣治疗 生殖器疱疹 生殖器疱疹治疗 毛刷厂 帕金森清洗毛刷轻松过关名师课堂 粘钢胶树脂灌缝胶建筑结构胶植筋胶 结构胶灌浆料 灌浆 XYLITOLSODIUM SULPHATECAUSTIC SODA FLAKESMANGANESE SULFATESODIUM FORMATEMAGNESIUM SULFATEOXALIC ACIDFORMIC ACIDXYLITOLSODIUM SULPHATECAUSTIC SODA FLAKESMANGANESE SULFATESODIUM FORMATEMAGNESIUM SULFATEOXALIC ACIDFORMIC ACID Chinese antique furniture supplier and we can supplycar wash systems. car wash systems .car wash equipment. car wash equipment. automatic car wash .automatic car wash .car washing machine. car washing machine. car wash. car wash if u need ,contact me 会计专业资格会计专业资格考试会计从业资格证书会计专业技术资格会计从业资格证初级职称初级会计资格初级会计职称会计报名中级会计资格中级会计职称初级会计职称考试中级会计职称考试09年中级会计职称考试轻松过关名师课堂闫华红田明王燕会计答疑会计试题会计职称模拟试卷会计职称考前串讲会计职称历年试题会计资讯会计职称考试报名会计职称称准考证会计名师会计职称培训会计从业资格试题09年会计从业资格考试2009年会计报名2009年会计职称考试规律总结职称考试应试技巧会计职称考试答案会计职称考试试题会计职称考试时间中级职称初级职称培训初级职称报名中级职称报名中级职称培训职称考试初级会计中级会计初级会计初级中级 会计考试报名会计职称考试报名会计职称报名时间会计中级职称报名注会成绩查询注会考试成绩查询会计考试复习资料会计考试教材会计考试辅导视频会计考试历年试题会计考试真题会计考试答疑会计辅导名师最好的会计网校会计辅导权威网校最好的会计网会计远程教育权威会计网校会计人网上家园注册会计师教材会计论坛注册会计师会计在线学习北京会计培训注税考试报名注税考试辅导教材注税考试辅导课程高会考试报名高会考试辅导教材高会考试辅导课程高级会计师会计考试论坛中级财务管理注会经济法中级经济法经济法基础初级会计实务公司战略与风险管理注会税法经济法基础中级会计实务注会政策改革注会会计注会财务成本管理注会审计会计中级报名指南注会会计


Name:
URL:
Email:
Comments:

CAPTCHA Image Validation