[Libreoffice] How to disable addon installation

Olivier Hallot olivier.hallot at documentfoundation.org
Wed Apr 6 13:13:58 PDT 2011


Hi Manuel

Em 06-04-2011 05:09, Manuel Reimer escreveu:
> 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.

Rename or erase unopkg executable/script in libreoffice/program. However 
I am not sure this is a clean way to do it.

>
>> 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 don't know. The configuration mechanism in OO/LO changed from 3.2 to 
3.3 and now all user changes are in registrymodifications.xcu in the 
user space.

The original/defaults configurations are in 
/libreoffice/basis3.3/share/registry .


>
> 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
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice

-- 
Olivier Hallot
Founder, Steering Commitee Member - The Document Foundation
Voicing the enterprise needs
LibreOffice translation leader for Brazilian Portuguese


More information about the LibreOffice mailing list