From f386f1e4468f4ef4b32cd4d0c81b30cbcf91e553 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 4 Sep 2018 16:21:28 +0200 Subject: [PATCH] Fix build --- docs/hassio_addon_security.md | 18 +++++++++--------- website/i18n/en.json | 2 +- website/sidebars.json | 3 ++- .../version-0.77.0-sidebars.json | 3 +-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/hassio_addon_security.md b/docs/hassio_addon_security.md index 77aacfbc..19643b19 100644 --- a/docs/hassio_addon_security.md +++ b/docs/hassio_addon_security.md @@ -1,17 +1,17 @@ +--- +title: "Add-on security" +--- -# Add-on Security +Hass.io rates every add-on based on the wanted rights. A add-on with a rating of 6 is very secure. If an add-on has a rating of 1, you shouldn't run this add-on unless you are 100% sure that you can trust the source. -## Rating +## Protection -Hass.io rating every add-on of his wanted rights. A add-on with rating of 6 is very secure in other case with 1, you don't should run this add-on if you are not 100% sure that you can trust him. +Default, all add-on run in a protection enabled modu. This mode prevents the add-on from getting any rights on the system. If an add-on requires more rights, you can disable this protection via the API add-on options for that add-on. But be carful, a add-on with disabled protection can destroy your system! -## Protectetion +## Making a secure add-on -Default, all add-on run in a protection enabled modus and they protect the user that the add-on can grant to high rights on his system. If you want run a add-on with options they need to disable this add-on, you can disable this for you add-on over the API add-on options for that add-on. But be carfuly, a add-on with disabled protection can destroy your system! +As a developer, follow the following best practices to make your add-on secure: -# Make you add-on secure - -Follow best praxis make your add-on secure: - Don't run on host network -- Create a AppArmor profile +- Create an AppArmor profile - Map folders read only if you don't need write access diff --git a/website/i18n/en.json b/website/i18n/en.json index 69930964..4bba9cd9 100644 --- a/website/i18n/en.json +++ b/website/i18n/en.json @@ -105,7 +105,7 @@ "hassio_addon_presentation": "Presenting your add-on", "hassio_addon_publishing": "Publishing your add-on", "hassio_addon_repository": "Create an add-on repository", - "hassio_addon_security": "hassio_addon_security", + "hassio_addon_security": "Add-on security", "hassio_addon_testing": "Local add-on testing", "hassio_addon_tutorial": "Tutorial: Making your first add-on", "hassio_debugging": "Debugging Hass.io", diff --git a/website/sidebars.json b/website/sidebars.json index 89ead475..c89c1d0e 100644 --- a/website/sidebars.json +++ b/website/sidebars.json @@ -145,7 +145,8 @@ "hassio_addon_testing", "hassio_addon_publishing", "hassio_addon_presentation", - "hassio_addon_repository" + "hassio_addon_repository", + "hassio_addon_security" ], "Maintainer docs": [ "maintenance", diff --git a/website/versioned_sidebars/version-0.77.0-sidebars.json b/website/versioned_sidebars/version-0.77.0-sidebars.json index 48bf2d99..eb5c02f8 100644 --- a/website/versioned_sidebars/version-0.77.0-sidebars.json +++ b/website/versioned_sidebars/version-0.77.0-sidebars.json @@ -142,8 +142,7 @@ "version-0.77.0-hassio_addon_testing", "version-0.77.0-hassio_addon_publishing", "version-0.77.0-hassio_addon_presentation", - "version-0.77.0-hassio_addon_repository", - "version-0.77.0-hassio_addon_security" + "version-0.77.0-hassio_addon_repository" ], "Maintainer docs": [ "version-0.77.0-maintenance",