Protecting Word doc programmatically (using RMS)

R

Reghu

Hi All,

How to protect an existing MS Word document programmatically
with RMS. (The location of the document can be in some public
FileShare, which it is accessible to the user).

ENVIRONMENT: I have Windows 2003 RMS SP2 (RMS SERVER), Active
Directory on Windows 2003 (AD) and Microsoft Office 2003, RMS SDK,
RMS
Client installed on another Windows 2003 OS (RMS Client)


SET UP: I have successfully installed the RMS Server (in pre-
production mode) and I am able to run couple of sample code provided
with RMS SDK. The machine activation code works fine, where as User
activation only works for temporary activation else it throws an
error. I am able to protect a document using Office 2003 application
but on a different set up (production mode).


I have looked in the RMS Client SDK which has information on creating
Publishing/Consuming Application. But what I understand is, the
Consuming Application should know, how to read the protected content,
the location of Issuance License etc.


In the SDK, DRMEncrypt function encrypts the data provided, but how
to
save the encrypted information is not specified anywhere. I assume
that, those particulars are dependent on the consuming application.

In case of Word documents the consuming end is Word 2003, so the
protected document has to be in a format which can be understood by
Office 2003. Is there any way to achieve this using the SDK? Or
should
I use some other SDKs/libraries provided by some-one else?

What I need is either some documentation or an API or sample code
that
will allow me to create rights managed documents (using the RMS
policy
already available in the AD or creating a new RMS Policy.) that MS
Word will understand and enforce.

Can anyone help me out to solve this?

~Thanks and regards
Reghu
 
R

ryancrawcour

Have you had any feedback on this issue? I am facing a similar proble
in that I need to programatically protect an xlsx doc

Any guidance would be real nice

Thank
Rya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top