Seite 1 von 1

Seite start.html Local unter FireFox aufrufen

Verfasst: 15 Okt 2019 13:58
von _hartmut
Hallo Zusammen,

unter FireFox 69.0.3 wollte ich die Seite:

file://///My-Pc/WsWin/html/start.html testen.

Es kam der bekannte Hinweis:

Information zum Auswählen der Wetterdaten
Voraussetzung:
Der Browser muß JavaScript 1.1 unterstützen.
Wer auf der linken Seite nur "Menü" oder ein leeres FRAME sieht, dessen Browser unterstützt leider das notwendige JavaScript nicht.
Ein "Klick" auf die grünen Pfeile öffnet die Untereinträge.

Da ich JavaScript installiert hatte und die Webseite:

http://www.mein-wetter/images/html/start.html

funktionirte, habe ich ein wenig gesucht und eine Lösung gefunden.

_________________________________________

https://support.mozilla.org/de/questions/1264410

I am trying to load a local file on my C drive, (not from a web site).
How do I grant permissions for reading local files with embedded javascript?
The page uses a script to load or switch pages in frames or iframes.

Erklärung und Lösung:
Firefox 68 contains a security patch which restricts the kinds of files that pages can load (and methods of loading) when you open them from a file:// URL. This change was made to prevent exfiltration of valuable data within reach of a local page, as demonstrated in an available exploit. More info: https://developer.mozilla.org/docs/Web/ ... estNotHttp

For now, to make your help system work on file:// URLs, you can roll back the patch as follows:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the ... box above the list, type or paste uniq and pause while the list is filtered

(3) Double-click the privacy.file_unique_origin preference to switch the value from true to false

To mitigate the vulnerability: If you save pages from untrusted sites in a separate folder, e.g., Downloads\Untrusted, then it would be difficult for an attacker to find any valuable content using local file links.

Funktioniert soweit.

Ich hoffe das hilft weiteren Betroffenen.

Gruß - Hardy

Verfasst: 15 Okt 2019 15:56
von weneu
Hallo Hardy,
ist bei mit schon lange so eingestellt, funktioniert aber trotzdem nicht.

Verfasst: 16 Okt 2019 12:24
von _hartmut
Hallo weneu

falls Noscript aktiv ist muss file: auf vertrauen gestzt werden.
Im Firefox bitte die Seite: https://www.enable-javascript.com/de/ aufrufen um zu testen ob Javascript aktiviert ist.
Im FF habe ich unter Einstellungen, Datenschutz & Sicherheit den Browser-Datenschutz auf Streng stehen (eventuell mal die Einstellung Standard probieren.

Bei mir funktionierte der Aufruf file://My-Pc/WsWin/html/start.html im Microsoft Edge Browser problemlos.
Fehlerhaft waren die Aufrufe im Opera und dem Firefox Browser.

Nur zur Info
im abschnitt uniq
privacy.file_unique_origin;false
security.data_uri.unique_opaque_origin;true

Gruß - Hardy

Verfasst: 16 Okt 2019 16:28
von weneu
Hallo Hardy,
das war's
privacy.file_unique_origin;false