Posts

Showing posts from February, 2013

Update the SharePoint Web.config file efficiently in Web hosting environment

[ Background Information ] The Internet SharePoint Web application has staging and production Web hosting environment.The external users only can access to staging Web site folders via FTP / FTPS, and so it's inconvenienced to update the production Web.config file frequently for them. [Solution] In this case, I designed a ASP.NET Web Application which provides a interface to merge the changes to production Web.config file. Firstly,  external developers login to the Web application with their windows authentication credentials.  The Web application will list Web.config files in staging and production environment for the SharePoint Web application, and then developer chooses which web.config file to be merged and also uploads the XML file which contains the changed sections of the Web.config file. Once submit the change, the Web application will backup the existing Web.config file, and then apply the changes. If the merged is successful, the Web application will send the upda

Best practices to Setup and Configure the SharePoint 2007 / 2010 Internet Web Application

I find some key points to setup the MOSS Internet Web Applications properly and safely in Web hosting applications environment. 1. When created the MOSS Web applications using "home" folder as the Web site folder. It contains MOSS default sub folders like "bin" and Web.config file.  2. Turn on anonymous access in entire site contents except the backend area such as "_layouts" pages using Windows authentication or Form authentication. Using IIS 7 URL rewrite rules to block the public access to "_layouts" page as mentioned in my last post "Using IIS 7 URL rewrite rules to block the public access to SharePoint "_layouts" pages". 3. Turn on anonymous access in IIS 7 site. 4. Remove any custom (non-system) users' access in local Web site folders. 5. Created file folders "styles" and "controls" outside Web site "home" folder and also create virtual folders "styles" and "cont

Upgrade my "Old iPhone4" to iOS 6.01

I decided to upgrade the software of my lovely "Old iPhone4" to iOS 6.01. Unbelievable! It took almost three hours to download the software and then another hour for backup and restore the iPhone using iTunes! I found out that all applications are not restored even I manually backup them in iTunes before upgrade. Finally, I have to connect to iTunes again after upgrade to restore those applications.

Using IIS 7 URL rewrite rules to block the public "access" to SharePoint "_layouts" pages

When you use MS SharePoint 2007 / 2010 site as a Internet public facing site, it's smart and safe to block the anonymous access to back-end "_layouts" pages. It's easy to use IIS 7 URL rewrite rules to perform the access blocking. Below is the sample rule.      <rule name="_layouts" stopProcessing="true">           <match url="^_layouts($|/.*)" />           <conditions logicalGrouping="MatchAny">                <add input="{HTTP_HOST}" pattern="^pub\.stag\.moevenpick-icecream\.com$" />                <add input="{HTTP_HOST}" pattern="^pub\.prod\.moevenpick-icecream\.com$" />                 <add input="{HTTP_HOST}" pattern="^www\.moevenpick-icecream\.com$" />           </conditions>           <action type="None" />         </rule> If you want to black the access to "_layouts/login.aspx" pag

Interesting Plant in the world

Image
I saw some Interesting Plant and would like to share with you in here. Buddha belly bamboo: It's the the Gramineae tufted bamboo plants. It grows up in the the South China as well as Malaysia and the Americas.  Mushroom: You must always see them in supermarkets and the back yards in Australia. But this is the big mushroom I have ever seen in the National park near Sydney South west suburb. It looks like a small table in the ground!   

iPhone 5 VS Samsung GALAXY S III

Both iPhone 5 and Samsung GALAXY S III sold price at $799 (16 GB), so buy iPhone 5 or  GALAXY S III? Let's compare their features here: [ iPhone5 ] More thinner, lighter, and very capable. 4-inch Retina display. LTE wireless technology. A6 chip brings faster CPU performance and better battery life. New EarPods iSight camera. Better map with iOS6. [ GALAXY S III ] Intelligent features: Smart Stay, Direct Call, Smart Alert, S-Voice and Social Tag. 4.8” HD Super AMOLED Display: You can watch a HD video in another window while sending an email or text simultaneously. Advanced 8MP Camera Premium Navigation: included NAVIGON app. No data charges apply and FREE map updates every three months for preloaded AU and NZ maps !  Android 4.0 (Ice Cream Sandwich)  In conclusion, if you are a Fans of iPhone design then go to iPhone5, but if you like more intelligent features and multitasks, then GALAXY S III is better. Another advantage for Android system is more easier