Regarding RMS protection of office files RRS feed

  • Question

  • H,

    We are using RMS protection to protect our office word files. And in our project there is a requirement where in we need to block upload of rms protected files. Is there any way where in i can check programmatically whether file is RMS protected or not? 

    Currently we are using the logic where we convert the docx file to zipx and if it gets converted without any exception then we treat it as non RMS protected file and vice versa.But this logic fails when we encounter plain doc file(97-2003 format)..

    Please suggest 

    Friday, December 18, 2015 10:21 AM


  • Hi Pratip,

    As far as I know, there is no object model we can detect whether the Word document was RMS protected. However since the Azure Rights Management and Active Directory Rights Management are persistent document-level information protection technologies from Microsoft, we can try to use Open XML to detect whether there are specific element in the document to distinguish whether the document was protected by the RMS.

    For example, when we restrict the editing the document in Word, there are permStart and permEnd to help Word to specify the right information for the range.

    If I misunderstood please feel free to let me know.

    Regards & Fei

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, December 21, 2015 8:14 AM