Hi,

I have something to add on to my previous email and do hope to get some
clarification on regards the security from you.

In OpenOffice, there is an option under
Tools>Options>OpenOffice.org>Paths>Temporary files specify the root
directory for all the temp files generated by OpenOffice when it is
started. From my understanding, these temp files are for undo operations
and recovery process. Please correct me if I am wrong.

Temp file generated process as identify below:
- When OpenOffice is started, a directory /tmp/sv<RANDOM>.tmp is
created, where <RANDOM> is a 3 character random string.
- Within the tmp directory, there will be few tmp files follow the same
naming convention (e.g. sv<RANDOM>.tmp) created for recovery process and
undo operation)
- Once a file is saved, a new zipped file format is created in the tmp
directory and the name of the file follows the same naming convention as
above mentioned. (e.g. /tmp/sv<RANDOM>.tmp/sv<RANDOM>.tmp)
- The entire tmp directory will be deleted upon application shutdown.


My questions are:

1. Are the temp files which are not in zipped file format encrypted?
2. What is the main purpose of having the temp files?
3. I noticed that the temp file always maintain at 0 byte even though I
have entered some data into the document. Why?
4. What is the main purpose of having the temp file in zipped file
format?
5. Are we able to intercept the above process to ensure that the temp
file is always encrypted and decrypted upon recovery process or undo
operations? Is yes, are we able to customize it in UNO extension? Please
advise the package in SVN? So that we can look at the code at the point
where:
        - temp file created when OpenOffice is started
        - temp file created in zipped format once it is saved
        - recovery process
        - undo operation
6. Any other temp files will be created in OpenOffice environment when
it is started? If yes, are they encrypted and why they are needed?

Hope to hear you soon and appreciate with your kind assistance.

Thanks and Regards
Nicholas


-----Original Message-----
From: Lim, Nicholas 
Sent: Friday, November 12, 2010 3:02 PM
To: '[email protected]'
Cc: '[email protected]'
Subject: Develop Digital Rights Management module

Hi, 

I am new to OpenOffice development and inexperience with UNO extension. 
For your info, I am more toward Java programming platform and have zero
background with C and C++ programming.
Lately, I am given a task to implement and integrate Digital Rights
Management with OpenOffice.org. 
Before I start coding, I would like to find out more on how Open Office
can comply base on the Security Standard for DRM application defined by
Microsoft as stated in the following URL:
http://msdn.microsoft.com/en-us/library/cc542513(v=VS.85).aspx
<http://msdn.microsoft.com/en-us/library/cc542513(v=VS.85).aspx> 
This is very much involve in memory management and security.
 
I have search through the Internet but there is no information related
to OpenOffice memory management.
 
Therefore, just wonder are we able to control the memory via UNO
extension which I doubt so. Is there any API provided? Or I will
definitely need to touch the core programming codes which written in C++
programming language.
 
Anyway, would be appreciate if you are able to provide some pointers for
the following example:
I have an OpenOffice document consists of 10 pages encrypted
information, only page 5 information is decrypted and rendered/viewed by
the user.
So my question is, are we able to make it only page 5 decrypted
information to be buffered in the memory? In other words, hackwer will
not be able to access information of other pages in the buffer other
than page 5. Can it be done?
 
Please kindly advise and would be much appreciate.
 
Thanks and Regards
Nicholas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to