Subscribe to News feed

Applying user specific watermarks when a PDF document is opened in SharePoint

Posted at: 6:09 PM on 14 April 2011 by Muhimbi

confidentialWe have just released another major version (5.0) of our popular PDF Converter for SharePoint as well as our stand-alone PDF Converter Services and, as we always do, we are blogging about all the cool new features including AutoCAD support, PDF Merging as well as support for the PDF conversion of multi-page TIFF files
  
This post is the first in a four part series:

  1. Applying user specific watermarks when a PDF document is opened in SharePoint. (This Post)
  2. Merging dynamic data into watermarks using the PDF Converter for SharePoint.
  3. Specifying filtering criteria when automatically applying watermarks.
  4. Apply User Specific PDF Security when a document is opened in SharePoint.

 

Applying user specific watermarks when a PDF document is opened in SharePoint”, wow….. what does that even mean and why is it so special? Before I answer that question let’s have a look at the watermarking features that we have been supporting in the past and what limitations in SharePoint we have had to overcome to provide this utterly brilliant new functionality.

Our PDF Conversion engine has had the ability to add watermarks to PDF files using the web services interface for quite some time. It is a very flexible system that allows all kind of watermark types - including images, shapes, text, other PDF files or any combination - to be added to a PDF file. It is possible to target individual pages, even or odd pages or portrait or landscape pages. No matter how well this works, the fact that it was only available when programming directly against our web services interface excluded it for many users, unless you are a .NET developer.
 

Sample watermark with user specific data

 
Many customers wanted to apply watermarks directly from their workflows, so we made it possible to apply simple as well as complex watermarks using SharePoint workflows. This pleased most of our customers, but you know…our customers just can’t help themselves, they want more and more and sometimes….even more. A common request is to add watermarks to a document the moment it is opened with content specific to the user opening the file, for example the user’s name, IP Address, current time or a combination. The problem, however, is that SharePoint does not provide the means to run a workflow, or any other logic, when a document is opened as a trigger for ‘document opened’ is simply not available.

So, we had to dig deep, open our magic box of tricks and… hocus pocus…simsalabin…we managed to add a layer to both SharePoint 2007 and 2010 to facilitate this functionality. I am not saying it wasn’t utterly painful, but we have pulled it off.
 

Watermark-on-open

 
So, why is this functionality so important? Well, if you work with highly confidential information then you want to be able to figure out who uploaded your documents to Wikileaks, or who gave their copy of a draft document to their buddy at the newspaper? This is a REAL problem that many organisations struggle with today. (Another option is to run our SharePoint Audit Suite).

Although it has taken quite a bit of rocket science to add this functionality to SharePoint, we have managed to make it very user friendly and easy to use for SharePoint administrators and power users as you can see in the screenshot above. The key features are as follows:

  1. Specify stock watermarks at the Site Collection level and optionally ‘inherit’ the settings at the List or Document library level.
  2. Support for different watermark types: Text, Image, RTF and compound watermarks using XML.
  3. Merge codes can be added to allow dynamic – user specific - content, e.g. PDF Opened by '{REMOTE_USER}' on '{LONG_DATE}' from IP '{REMOTE_ADDR}'. More details about merge codes can be found here.
  4. Allow filters to be specified to make sure watermarks are only applied to certain documents, e.g. depending on the Content Type, Version (major or minor), or content of certain columns (e.g. ‘Title’ contains ‘Confidential’).
  5. Support for PDF Files in Document  Libraries as well as files attached to individual list items.

 

Please note that by default the Automatic Watermarking screens are disabled. Enable the the SharePoint Feature named ‘Muhimbi PDF Converter - Automatic Watermarking’ at either the Web Application or Site Collection level (but not on both).

The default values for watermarks can be specified in the Site Settings menu, however you need to separately enable watermarking on the Document Library settings screen in order to activate it.

 

.




Labels: , , , , ,

6 Comments:

  • Is it possible to use the document version info (Verion, Modified and Modified by) and Managed Metadata for Watermarking?

    By Anonymous Schneika, At 14 September, 2011 19:45  

  • Hi Schneika,

    The information that can be merged in can be found at http://blog.muhimbi.com/2011/04/merging-dynamic-data-into-watermarks.html.

    For more complex merge data I'd recommend using a SharePoint Designer or Nintex workflow.

    Please drop us a line on support@muhimbi.com if you have further questions.

    By Blogger Muhimbi, At 14 September, 2011 21:50  

  • Is it possible to have a text watermark on multiple lines NOT to be middle-aligned - left-aligned is preferred

    Printed 15-04-2013
    by GLA

    instead of

    Printed 15-04-2013
    -------by GLA-----

    By Blogger Geert, At 15 April, 2013 15:59  

  • Hi Geert,

    You can specify both horizontal and vertical alignment as per the screenshot above.

    If you have any specific questions then drop support@muhimbi.com a line.

    By Blogger Muhimbi, At 15 April, 2013 17:35  

  • NO, sorry but ...

    I am able to horisontal align the watermark content BLOCK of text
    but within the block multiple lines are mid-alignet ;-/

    By Blogger Geert, At 16 April, 2013 09:30  

  • Hi Geert,

    Please provide exact details of how you are creating your watermark to support@muhimbi.com. They'll take it from there.

    By Blogger Muhimbi, At 16 April, 2013 16:31  

Post a Comment

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link