Changing SharePoint Account’s Password on Client OS

As promised, I will show you how to refresh your SharePoint account on a client OS (Windows 7) after you changed its password. On my Windows 7 laptop, I use my corporate domain user (you have to use a domain account for a full version of SharePoint) as SharePoint 2010’s service account (for how to install…


How To Hide Ribbon From Users Without Edit Page Privilege

Ribbon is a great new feature introduced by SharePoint 2010. It provides great user experience for users with elevated privileges, like contributors and site owners. However, for users with lease privilege, such as visitors and anonymous users, it seems like a big waste of page real estate. Because for those users, all ribbon provides are…


Installing Complete Version of SharePoint Server 2010 on Windows Client OS

Yes, I successfully installed complete version (not the standalone one) of SP2010 on my Windows 7 laptop. Here is how I did it: Make sure your Windows client OS is 64-bit and domain joined and you have a domain account with local administrator’s privilege.  I followed most of the instructions from this article: At the #3 of Step 3,…


Creating a SharePoint Application Page for Anonymous Access

From time to time, you may need to create a few SharePoint application pages for anonymous users. Like log on page, the page to recover or reset passwords, a page to guide through the registration processes, etc. Besides to set up you SharePoint site to allow anonymous access, the key here is that you cannot…


Codeless SharePoint Development

May this be every SharePoint developer’s principle: DO NOT write code if you don’t have to. Don’t get me wrong, I am a developer and I love to write code more than anything else. However, I find that not to write code, when it is feasible of cause, is the way to make a SharePoint…


DPAPI and SharePoint

DPAPI stands for Data Protection API. It is a pair of function calls that provide OS-level data protection services to user and system processes. Simply put, if your OS is Windows 2000 or later, you can use DPAPI to encrypt and decrypt data without having to manage (and worry about) encryption keys. DPAPI works…


Using Enterprise Library 4.1 in SharePoint 2007 development projects

Yes, you CAN use Enterprise Library 4.1 ( in your SharePoint 2007 development projects. Here is how: Install .NET Framework 3.5 if it is not present on SharePoint servers. EntLib 4.1 is based on 3.5 framework. Enable 3.5 for MOSS applications. MOSS 2007 was released before 3.5, so even if you have 3.5 on the servers,…


Configure SharePoint servers to use proxy with credentials

If your enterprise has a proxy server for all servers with credentials, your SharePoint servers may not be able to connect to Internet. You would probably see errors on RSS Viewer webparts trying to read feeds from Internet. You need to write some code and deploy a DLL and modify web.config to solve this issue….


How to create a HTML search box for SharePoint search

Search in Microsoft Windows SharePoint Services supports URL syntax. You can encode search keywords and parameters in URL and post directly to the search page. For more information about SharePoint search URL syntax, please refer to: Following HTML code snippet would provide a simple HTML search box that links to a SharePoint search result…


How to configure client certificate for SharePoint authentication

SharePoint supports client certificate authentication. However, before you enable SharePoint and IIS for client certificate authentication, make sure that a X.509 PKI is in place within your IT infrastructure.  It is not recommended to apply client certificate authentication to public facing Internet sites.  Your domain must be running under native Windows 2003 Domain mode. Please…