Showing posts with label Best Practices. Show all posts
Showing posts with label Best Practices. Show all posts

Saturday, May 21, 2011

WebApplication Permission Policy in SharePoint 2010

After long time I found some time today to share my new experience in my new organisation. Since last 10 weeks I was working on my 1st ever SharePoint implementations assessment assignment. And ad on to that it was for SharePoint 2010.

My Assignment included to set up or to be precise suggest the Architecture for implementation of SharePoint 2010.

One of the requirement from the client is real time. They were planning to make their intranet portal available on extranet users as well. But they want the restriction on some of the confidential documents when same user accessing the portal from extranet.

Requirement: User A is a exist as a Store Manager in AD. He should be able to access the document on portal only when he is accessing it from store or say from Intranet. At the same time when User A is trying to access the same document on portal from Home through extranet the document should not be accessible to him. 

Myth:It can be achieved by using (1) Audiance Target (2) Creating different group for Intranet and Extranet.

Solution: I would say option (2) is half true. But My Document library is having a permission only for Intranet Group. Now when user A who is a part of both Intranet & Extranet Group how SharePoint will know when User A is accessing the portal from Extranet or Intranet?

Answer to this is Web Application Permission Policy in SharePoint 2010.

Step1: Create portal http://myportal for "Intranet Zone"
Step2: Go to Central Admin and Extend "http://myportal" for "Extranet Zone"
Step3: Select the created "http://myportal" and select Permission Policy from the "Ribbon" on the top.
Step4: Create new policy for "Deny" and add Intranet AD group to that, which will prevent the site to be accessed for the defined group in the Deny Policy.

Now when User A is accessing the portal from extranet and entered the site, SharePoint knows that User A is accessing the portal as a part of Extranet AD Group and not allowed him to access the Document Library which is only having an access to Intranet Group users.

Feel free to write to me for any help on this...and click here and here to know more on how to set up site permission policy.

Sunday, May 16, 2010

Search Crawling Stops or The parameter is incorrect in sharepoint search

This is one of the worst problem I came across. :(

I don't blame Microsoft for this, but I can say a wrong governance model is the reason for this.

Problem: My client complaint that a new item added on the site is not comes under a search result since last few days. I spent lot of a time to find out the real cause. When I have gone through the Search Crawling log an error is found saying "The parameter is incorrect in sharepoint search". When I checked for all the other sites on the farm all are working fine with search and none of the site has given such error at the time of crawling. That has increased my curiosity.

After spending a full day at last I found a reason and its a cause for small party ;), thanks to Mattias Lindberg

Solution: The reason which stops the crawling for the site is the user we have added in the site are more than 5000 in a particular group instead of adding an AD Group.

I am just copying the workaroung given by Mattias below.

Our solution was to require sites with over 1500 members to use an AD group for keeping track of membership, as recommended by the KB for SPS 2003. One disadvantage with this approach is that you must maintain membership by updating the AD group so you can no longer request membership using SharePoint standard dialogs.

Probably an article is wriiten for SPS 2003 but infect it is applied to MOSS 2007 as well.

Friday, December 25, 2009

Friday, June 26, 2009

Recommended SQL disk size for MOSS-2007

Few days back I started working on a new project for one of the client.
The current environment they have is having a lots of probelme and is kind of a mess. We decide to improve their current environment. And the first challenge comes up is to convience their DBA Team for the sizzing of the SQL Server for MOSS. Thanks to cleverworkarounds, we got a very good artilce.
This article helps us to make the decesions on Disk and I/O Sizing for MOSS2007. Read Part-1 & Part-2

Tuesday, May 19, 2009

Best Practice to use DataView WebPart

When you add a data view web part to a page in your site, you’ll notice that when you Save, you get the message, which is called “unghosting” a page, when you customize it away from the site definition. Click here to know the Best Practice to use DVWP.

Thursday, April 16, 2009

Best Practices For Building SharePoint Solutions

The challenges facing developers who work with Windows SharePoint Services 3.0 (WSS) and Microsoft Office SharePoint Server 2007 (MOSS) are as deep and wide as the SharePoint platform itself. If you're new to this platform, the practices Microsoft has explored in this article will lead you in the right direction. If you're an experienced SharePoint developer, these tips should help reinforce your knowledge, encourage discussion, and ultimately lead to building great SharePoint applications.

Friday, April 10, 2009

Configuring and Deploying Anonymous Publishing Sites for SharePoint Server 2007

Andrew comes with the article for Exploring and learning how to address security and performance issues of Microsoft Office SharePoint Server 2007 publishing sites before launching them as Internet-facing publishing sites. Read whole article

Friday, March 20, 2009

When You Need SharePoint Designer

Walk through a high-level summary of SPD's features and how these features should and should not be used. At the end of this article you should be able to identify those situations where SPD can be helpful and identify situations where using SPD may be more of a hindrance than a help. Read more...