Implementing Document Restrictions in Star Office and Open Office

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Implementing Document Restrictions in Star Office and Open Office

Valden Longhurst
<Second attempt because it seems the PDF didn't come through>

After talking with Malte Timmermann from Sun, he mentioned I might want
to bring my ideas to this group.  Is this the correct group for this idea?

Attached are two OOo files on how we can use both symmetric and
asymmetric encryption--WITHOUT using a Rights Management or Licensing
server to enforce business-justified document restrictions.  My possible
solution involves what is called the "digital envelope" or "cryptolope."

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

Drawing.odg (14K) Download Attachment
Thoughts.odt (32K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Build error

Yoann Babel
Building on Debian Stable (Sarge) for the first time (I want to test VBA
compat), I get this error after a while :

java -Xms256m -Xmx256m  
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
-cp
.:../../unxlngi4.pro/class:/usr/lib/java/jre/lib/rt.jar:.:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xml-apis.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xercesImpl.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xt.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xt-xmlsearch.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/unoil.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/ridl.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/jurt.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/jut.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xmlsearch.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xmlhelp.jar:/usr/share/java/libdb4.2-java.jar
com.sun.star.help.HelpLinker @/tmp/mkIWdZ4H
Exception in thread "main" java.lang.UnsatisfiedLinkError: no
db_java-4.2 in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:992)
        at com.sleepycat.db.db_javaJNI.<clinit>(db_javaJNI.java:38)
        at com.sleepycat.db.Db.<init>(Db.java)
        at com.sun.star.help.HelpLinker.link(HelpLinker.java:369)
        at com.sun.star.help.HelpLinker.main(HelpLinker.java:228)
dmake:  Error code 1, while making '../../unxlngi4.pro/bin/scalc_en-US.zip'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/home/yoann/ooo.build/ooo-build/build/src680-m162/helpcontent2/util/scalc
make: *** [stamp/build] Erreur 1


any idea of what to do ?

Yoann

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

Reply | Threaded
Open this post in threaded view
|

Re: Build error

Yoann Babel
Yoann Babel wrote:

> Building on Debian Stable (Sarge) for the first time (I want to test
> VBA compat), I get this error after a while :
>
> java -Xms256m -Xmx256m  
> -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
> -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
> -cp
> .:../../unxlngi4.pro/class:/usr/lib/java/jre/lib/rt.jar:.:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xml-apis.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xercesImpl.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xt.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xt-xmlsearch.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/unoil.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/ridl.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/jurt.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/jut.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xmlsearch.jar:/home/yoann/ooo.build/ooo-build/build/src680-m162/solver/680/unxlngi4.pro/bin/xmlhelp.jar:/usr/share/java/libdb4.2-java.jar
> com.sun.star.help.HelpLinker @/tmp/mkIWdZ4H
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no
> db_java-4.2 in java.library.path
>        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
>        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
>        at java.lang.System.loadLibrary(System.java:992)
>        at com.sleepycat.db.db_javaJNI.<clinit>(db_javaJNI.java:38)
>        at com.sleepycat.db.Db.<init>(Db.java)
>        at com.sun.star.help.HelpLinker.link(HelpLinker.java:369)
>        at com.sun.star.help.HelpLinker.main(HelpLinker.java:228)
> dmake:  Error code 1, while making
> '../../unxlngi4.pro/bin/scalc_en-US.zip'
> '---* tg_merge.mk *---'
>
> ERROR: Error 65280 occurred while making
> /home/yoann/ooo.build/ooo-build/build/src680-m162/helpcontent2/util/scalc
> make: *** [stamp/build] Erreur 1
>
>
> any idea of what to do ?
>
> Yoann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
I've found the solution (from this link) :
http://72.14.207.104/search?q=cache:GUJ0mQVdTvYJ:www.zeroc.com/vbulletin/showthread.php%3Ft%3D514++no+db_java-4.2+in+java.library.path&hl=fr&gl=fr&ct=clnk&cd=3&lr=lang_en

so on my system I did :
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/staroffice8/program/
because I have another version on my system, of DB4.2, but it seems that
they are not compatible :


locate libdb_java-4.2.so ==>
/opt/staroffice8/program/libdb_java-4.2.so
/usr/lib/libdb_java-4.2.so

!!!!!


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

Reply | Threaded
Open this post in threaded view
|

Re: Implementing Document Restrictions in Star Office and Open Office

Malte Timmermann
In reply to this post by Valden Longhurst
Valden,

I personally wouldn't implement access control.
Everybody can modify OOo and get rid of all security checks.

So the only thing I would do is encrypting the session key with users
public keys, so only certain people can open the document.

That is all you can guarantee!

Once somebody has access to the session key, you can't hinder him doing
with the document what he wants.

If you want rights management in an open source application, you need a
trusted platform, signed applications, and probably some "rights
management server".

This is also true for closed source software, with the difference that
modifying close source software is much more difficult.

Malte.

PS: Some of my thoughts on this topic can be found here:
http://openmediacommons.org/workshop/presentations/Day1/3.Malte-OpenOffice.pdf




Valden Longhurst wrote:

> <Second attempt because it seems the PDF didn't come through>
>
> After talking with Malte Timmermann from Sun, he mentioned I might want
> to bring my ideas to this group.  Is this the correct group for this idea?
>
> Attached are two OOo files on how we can use both symmetric and
> asymmetric encryption--WITHOUT using a Rights Management or Licensing
> server to enforce business-justified document restrictions.  My possible
> solution involves what is called the "digital envelope" or "cryptolope."
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]

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