From ed07764f09b7d881a94d4629d80aee375e75f4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 4 Sep 2018 12:00:07 +0200 Subject: [PATCH] Put warnings into core/first run wizard --- .../templates/corewizard_acl_wizard.jinja2 | 16 ++++++++++++---- .../templates/dialogs/wizard/firstrun_end.jinja2 | 10 ++++++++-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2 b/src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2 index 58cd4bfa7..823e65212 100644 --- a/src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2 +++ b/src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2 @@ -1,14 +1,22 @@

{{ _('Access Control') }}

-{% trans %}

+{% trans safe_remote_url='https://octoprint.org/blog/2018/09/03/safe-remote-access/' %}

Please read the following, it is very important for your printer's health!

OctoPrint by default ships with Access Control enabled, meaning you won't be able to do anything with the printer unless you login first as a configured user. This is to prevent strangers - possibly with - malicious intent - to gain access to your printer via the internet or another untrustworthy network + malicious intent - to gain access to your printer via an untrustworthy network and using it in such a way that it is damaged or worse (i.e. causes a fire).

+

+ If you plan on accessing OctoPrint remotely over the internet, you should not only rely on the built-in + Access Control mechanisms however - + take additional precautions. + Your OctoPrint enabled printer is a critical home appliance you really should not give anyone who happens to be + connected to the internet access to - even read-only! An instance available publicly on the internet + will be found, and people will try to break it open. +

It looks like you haven't configured access control yet. Please set up a username and password for the initial administrator account who will have full access to both the printer and OctoPrint's settings, then click @@ -36,12 +44,12 @@ {% trans %}

- Note: In case that your OctoPrint installation is only accessible from within a trustworthy network and you don't + Note: In case that your OctoPrint installation is only accessible from within a trustworthy local network and you don't need Access Control for other reasons, you may alternatively disable Access Control. You should only do this if you are absolutely certain that only people you know and trust will be able to connect to it.

- Do NOT underestimate the risk of an unsecured access from the internet to your printer! + Do NOT underestimate the risk of access from the internet to your printer and OctoPrint instance!

{% endtrans %}
diff --git a/src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2 b/src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2 index 53b71622a..33aeb89be 100644 --- a/src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2 +++ b/src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2 @@ -4,7 +4,7 @@ Your OctoPrint installation is now all set up and ready to go. {% endtrans %}

-

{{ _('On your printer\'s safety') }}

+

{{ _('For your printer\'s safety') }}

{% trans %} @@ -13,12 +13,18 @@ sometimes sadly do catch fire, so stay or have someone else stay close enough to physically intervene in case of such catastrophic failure. {% endtrans %}

+

{% trans url='https://octoprint.org/blog/2018/09/03/safe-remote-access/' %} + You also should never make your OctoPrint instance available for everyone on the + public internet, even with Access Control enabled. Your instance will be found, and bad people + will try to abuse it. Don't put yourself at risk, + use a safe way to access your instance remotely. +{% endtrans %}

{{ _('If you enjoy OctoPrint...') }}

{% trans url='https://octoprint.org/support-octoprint/?utm_source=octoprint&utm_medium=first_run_wizard' %} - Please consider to support OctoPrint's ongoing development, + Please consider supporting OctoPrint's ongoing development, which can only continue with funding by users like you! You can also find this link in the "About" dialog.
Thank you! {% endtrans %}