diff options
author | Andras Timar <andras.timar@collabora.com> | 2018-03-08 16:07:11 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-12 11:17:21 +0100 |
commit | f709b3040759774af624aaae75a7408652d784f9 (patch) | |
tree | 1fec2a94a29ccaaf6e72fbbdb7212f6111f588cc /officecfg | |
parent | 4a36cdde1547e59fb3f9b1939001f3d107433bf0 (diff) |
Let sysadmins disable individual file format filters
It makes sense to disable a filter, as a temporary security measure,
when there is a 0-day vulnerability in it.
E.g., when 0-day found in AbiWord filter, this config snippet disables it:
<item oor:path="/org.openoffice.TypeDetection.Filter">
<node oor:name="Filters">
<node oor:name="AbiWord">
<prop oor:name="Enabled" oor:finalized="true">
<value>false</value>
</prop>
</node>
</node>
</item>
Reviewed-on: https://gerrit.libreoffice.org/50961
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 4547fa2c1e205e1989611b1c4493cbbd12541372)
Change-Id: I8b84250c7e4aac3555877d23f58ed13a2210ebfc
Reviewed-on: https://gerrit.libreoffice.org/51057
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs index d4d12de48425..5433e1349798 100644 --- a/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs +++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs @@ -94,6 +94,14 @@ this filter.</desc> </info> </prop> + <prop oor:name="Enabled" oor:type="xs:boolean" oor:nillable="false"> + <info> + <desc>Whether the filter is enabled. It makes sense to disable a filter, + as a temporary security measure, when there is a 0-day vulnerability in + it.</desc> + </info> + <value>true</value> + </prop> </group> </templates> <component> |