-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions for working around NoScript XSS upload problem
There is currently an unpredictable problem with uploads, due to a Firefox bug. For now, the only workarounds are implementing AJAX uploads or disabling NoScript's cross-site request sanitization. We're recommending the latter, since it should be safe with our recommended Tor Browser settings, and doesn't require enabling JavaScript to use SecureDrop. This change adds: - instructions in the source UI for disabling NoScript cross-site request sanitization before uploading - a note about the bug in the source guide - updated screenshots of the source submission page Fixes: #4078
- Loading branch information
Showing
22 changed files
with
113 additions
and
3 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.01 KB
(110%)
docs/images/manual/screenshots/source-submission_entered_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
=img | ||
img | ||
&.inline | ||
max-height: 1em | ||
&.constrained | ||
max-height: 100% | ||
max-width: 100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{% extends "base.html" %} | ||
{% block body %} | ||
<h1>{{ gettext("Turn off NoScript's cross-site request sanitization setting") }}</h1> | ||
|
||
<p>{{ gettext('Due to a browser issue (<a href="{url}">more details</a>), uploads do not currently work reliably in Tor Browser while cross-site request sanitization is turned on. It is safe to turn off this feature while your Security Slider is set to "Safest". Here\'s how:').format(url="https://github.com/hackademix/noscript/issues/64#issuecomment-462709129") }}</p> | ||
|
||
<p>{{ gettext('You should find a blue "S" icon in the Tor browser\'s toolbar: <img class="inline" src="{noscript_plain_icon_url}"> or <img class="inline" src="{noscript_icon_url}">. This is the NoScript button.').format(noscript_plain_icon_url=url_for('static', filename='i/noscript-xss/noscript-icon-plain.png'), noscript_icon_url=url_for('static', filename='i/noscript-xss/noscript-icon.png')) }}</p> | ||
|
||
<hr class="dotted"> | ||
|
||
<h2>{{ gettext("1. Click on the NoScript button.") }}</h2> | ||
<p>{{ gettext("The NoScript pane should appear. It looks like this:") }}</p> | ||
|
||
<img class="constrained" src="{{ url_for('static', filename='i/noscript-xss/noscript-pane.png') }}"> | ||
|
||
<hr class="dotted"> | ||
|
||
<h2>{{ gettext('2. In the NoScript pane, click on the Settings icon: <img class="inline" src="{url}">').format(url=url_for('static', filename='i/noscript-xss/noscript-settings-icon.png')) }}</h2> | ||
|
||
<p>{{ gettext("The settings page should appear in a new browser tab. It looks like this:") }}</p> | ||
|
||
<img class="constrained" src="{{ url_for('static', filename='i/noscript-xss/settings-pane.png') }}"> | ||
|
||
<hr class="dotted"> | ||
|
||
<h2>{{ gettext('3. Click the "Advanced" tab.') }}</h2> | ||
|
||
<p>{{ gettext("The advanced settings tab should come into view. It looks like this:") }}</p> | ||
|
||
<img class="constrained" src="{{ url_for('static', filename='i/noscript-xss/advanced-settings.png') }}"> | ||
|
||
<hr class="dotted"> | ||
|
||
<h2>{{ gettext('4. Un-check "Sanitize cross-site suspicious requests".') }}</h2> | ||
|
||
<p>{{ gettext("Due to a browser issue, this is required for uploads to work reliably. As soon as the browser issue is resolved, we will remove this recommendation.") }}</p> | ||
|
||
<hr class="dotted"> | ||
|
||
<h2>{{ gettext("5. Close the <i>NoScript Settings</i> browser tab and return to the SecureDrop tab.") }}</h2> | ||
|
||
<p>{{ gettext("You can now upload your files. Please keep in mind that each file requires its own submission.") }}</p> | ||
|
||
<hr class="dotted"> | ||
|
||
<h2>{{ gettext('6. Re-check "Sanitize cross-site suspicious requests".') }}</h2> | ||
|
||
<p>{{ gettext('Repeat steps 1-3 from above and re-check the setting. The setting has no effect while your Security Slider is set to "Safest", but we recommend enabling it during normal Tor usage.') }}</p> | ||
|
||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters