Kit Kai's Tech Blog

Blog about SharePoint

This Blog

Syndication

Search

Tags

News



  • Want to be notified when new posts are available? Click the icon below for more information on how to subscribe.

    Blog Flux MapStats: Stats and Counter for Kit Kai's Tech Blog Subscribe to Kit Kai's Tech Blog

    Locations of visitors to this page Add to Technorati Favorites

Community

Email Notifications

Archives

Sharepoint / CMS Blogs

MVPs', Leads' & RDs' Blogs

Singapore Usergroups

Overseas Usergroups

About Me

Remove Document Protection against Edit in Word 2007

I was trying to convert some case studies documents in SharePoint, to demostrate that you are able to author content in Word, and publish them in HTML using document conversion process. But the document conversion process keep crashing because of certain elements in the Word document. But when I tried to edit, the document is protected against edit.

Knowing Word 2007 files are just xml files in a zip file, I did the following.

  1. Rename the document to zip format
  2. Open it up in my favorite zip program
  3. Edit settings.xml in Notepad
  4. Look for "protection" in the xml file, and you will locate <w:documentProtection> element.
  5. Remove all the attributes in it.
  6. Update the zip file
  7. Rename the document back to docx
  8. Open it up in Word 2007, and you are able to edit the document...

 

Published Monday, August 20, 2007 4:06 PM by kitkai

Comments

# Remove Document Protection against Edit in Word 2007@ Monday, August 20, 2007 4:31 PM

I was trying to convert some case studies documents in SharePoint, to demostrate that you are able to

# buka proteksi editing pada file word &laquo; smallNote@ Sunday, June 07, 2009 1:24 AM

Pingback from  buka proteksi editing pada file word « smallNote

# Twitted by sehlhorst@ Tuesday, December 15, 2009 11:07 AM

Pingback from  Twitted by sehlhorst