Skip to content

SecurityDevices

Add or delete PKCS #11 modules.

Compatibility: Firefox 114, Firefox ESR 112.12
CCK2 Equivalent: N/A
Preferences Affected: N/A

policies.json
{
"policies": {
"SecurityDevices": {
"Add": {
"A Device": "/path/to/library/for/device"
}
}
}
}
policies.json
{
"policies": {
"SecurityDevices": {
"Delete": [
"A Device"
]
}
}
}
policies.json
{
"policies": {
"SecurityDevices": {
"A Device": "/path/to/lib",
"Another Device": "/path/to/another/lib"
}
}
}
JSON schema
SecurityDevices JSON schema
{
"type": "object",
"patternProperties": {
"^(?!Add$|Delete$).*$": {
"type": "string"
}
},
"properties": {
"Add": {
"type": "object",
"patternProperties": {
"^.*$": {
"type": "string"
}
}
},
"Delete": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
Software\Policies\Mozilla\Firefox\SecurityDevices\Add\NAME_OF_DEVICE_TO_ADD = PATH_TO_LIBRARY_FOR_DEVICE
Software\Policies\Mozilla\Firefox\SecurityDevices\Remove\1 = NAME_OF_DEVICE_TO_REMOVE

OMA-URI:

./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/SecurityDevices/SecurityDevices_Add

Value (string):

<enabled/>
<data id="SecurityDevices" value="NAME_OF_DEVICE_TO_ADD&#xF000;PATH_TO_LIBRARY_FOR_DEVICE"/>

OMA-URI:

./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/SecurityDevices/SecurityDevices_Delete

Value (string):

<enabled/>
<data id="SecurityDevices" value="1&#xF000;NAME_OF_DEVICE_TO_REMOVE"/>
<dict>
<key>SecurityDevices</key>
<dict>
<key>Add<key>
<dict>
<key>NAME_OF_DEVICE_TO_ADD</key>
<string>PATH_TO_LIBRARY_FOR_DEVICE</string>
</dict>
<key>Delete</add>
<array>
<string>NAME_OF_DEVICE_TO_DELETE</string>
</array>
</dict>
</dict>
  • Since Firefox 114, this policy expects Add and Delete keys instead of a single "name" : "path" combination. See SecurityDevices for the syntax prior to Firefox 114.