Anonymous File Sharing with OnionShare 2.0

OnionShare Settings

In most cases, no further configuration is required. In certain scenarios, however, you can check out the settings below the gear icon (Figure 4). For example, to run a permanently active OnionShare server, you need to enable Public mode and Use persistent address.

Figure 4: You can configure OnionShare via the settings. Most important are the options below General settings and Onion settings.

Public mode disables a measure that is actually fairly well established as a security function (see the "Slug Protection" box). The second option tells OnionShare to always use the same address. This setting affects privacy but does let you make a share or upload option accessible via OnionShare for a longer period of time. Setting both options is therefore recommended if you are setting up an upload server.

Slug Protection

In theory, an attacker could get to an OnionShare by simply trying out Onion addresses. The slug adds another hurdle. If the attacker tries to guess the attachment, OnionShare locks the door completely after a few unsuccessful attempts. However, attackers could use this as a DoS attack and kick OnionShare servers off the network in a targeted manner. To prevent this, the function can be completely deactivated via Public mode if required.

But if you want to provide data as a user, and only for a short time – or only for one person – the Use auto-stop timer and Stop sharing after files have been sent options can help. If you activate the timer, OnionShare will display a dialog when starting the service stating Stop the share at; you can now set a time at which OnionShare will automatically remove the share from the network. Alternatively, the program disables sharing as soon as a user has downloaded the files.

Conclusions

OnionShare is a practical tool even if you are not seeking protection from persecution as a whistle-blower. Without accounts, without commercial cloud services, and without any additional router configuration, you can easily exchange data with other network participants. Your own IP address remains hidden, as do the IP addresses of your contacts. The Tor client included in OnionShare and the Tor Browser with its privacy optimizations ensure that even inexperienced users will receive protection.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Mofo Linux

    Mofo Linux enables secure digital communications, even in places where it is politically or ideologically unwelcome.

  • Subgraph OS

    Kid-tested and Snowden approved – is Subgraph, the privacy-oriented OS, now ready for humans?

  • FOSSPicks

    After watching Ubuntu help NASA with its first controlled flight on another planet, Graham spent far too much time this month visiting Mars in Elite Dangerous, via Proton on Linux.

  • This Month's DVD

    Tails 4.22 and Q4OS 4.6

  • This Month's DVD

    Parrot OS 4.11 and Fedora Workstation 35

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News