[Libreoffice] How to disable addon installation

Manuel Reimer manuel.spam at nurfuerspam.de
Wed Apr 6 01:09:43 PDT 2011


Olivier Hallot <olivier.hallot at ...> writes:
> I second your concern. Extensions are a potentially security hole and it 
> should be possible to install LibreOffice without the ability to install 
> extensions. The extension installer, expecially the GUI should be an 
> option at intall time.

Doesn't help me at all, as I'm on Linux and there the package is usually
prebuilt by the distributor. The only thing, that would help me, is a easy way
to disable extension installation even after installation.

> But if you want only to disable the GUI, de-register the proper dll in 
> the command prompt:
> 
> C:\Program Files\LibreOffice.org 3\Basis\program>..\..\URE\bin\regcomp 
> -revoke -r services.rdb -c 
> "vnd.sun.star.expand:$OOO_BASE_DIR/program/deploymentguimi.uno.dll"
> vnd.sun.star.expand:$OOO_BASE_DIR/program/deploymentguimi.uno.dll
> revoke component 
> 'vnd.sun.star.expand:$OOO_BASE_DIR/program/deploymentguimi.uno.
> dll' from registry 'services.rdb' succesful!
> 
> swoosh!, vanished.

Just killing/renaming the relevant library also helped. Thanks for pointing me
to this. Is there any way to simple toggle this even as user (non-root)? Can I,
for example, place the library to somewhere in my libreoffice profile dir to
re-enable extension installation?

I've filed two bugs about this discussion:
https://bugs.freedesktop.org/show_bug.cgi?id=36017
https://bugs.freedesktop.org/show_bug.cgi?id=36019

Yours

Manuel



More information about the LibreOffice mailing list