{"id":12787,"date":"2019-03-28T20:18:06","date_gmt":"2019-03-28T20:18:06","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=12787"},"modified":"2019-03-28T20:18:06","modified_gmt":"2019-03-28T20:18:06","slug":"how-to-securely-and-anonymously-share-files-of-any-size-over-the-tor-network-with-onionshare","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/28\/how-to-securely-and-anonymously-share-files-of-any-size-over-the-tor-network-with-onionshare\/","title":{"rendered":"How to Securely and Anonymously Share Files of Any Size Over the Tor Network with OnionShare"},"content":{"rendered":"<p>It\u2019s mid-2016 and there are lots of methods to share files online between you and another person 12 timezones away. Some of them are convenient in that they offer a certain amount of disk space for free, and also offer commercial options if you require more storage.<\/p>\n<div id=\"attachment_21254\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-Secure-Anonymous-File-Sharing.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21254\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-Secure-Anonymous-File-Sharing.png\" alt=\"OnionShare - Share Files of Any Size Securely and Anonymously Over Tor Network\" width=\"720\" height=\"345\" aria-describedby=\"caption-attachment-21254\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-21254\" class=\"wp-caption-text\">OnionShare \u2013 Share Files of Any Size Securely and Anonymously Over Tor Network<\/p>\n<\/div>\n<p>Of course, you can set up your alternative using a tool such as\u00a0<a href=\"https:\/\/www.tecmint.com\/install-owncloud-to-create-personal-storage-in-linux\/\" target=\"_blank\" rel=\"noopener\">ownCloud<\/a>, but what if all you need is a one-time-only method to share files privately and securely? On one hand,\u00a0<a href=\"https:\/\/www.tecmint.com\/install-owncloud-to-create-personal-storage-in-linux\/\" target=\"_blank\" rel=\"noopener\">setting up your own cloud<\/a>\u00a0for this sounds like an overkill, and using a service offered by a third party leaves your data whether you want it or not available at that third party\u2019s will, and possibly subject to government requests.<\/p>\n<p>In this article we will explain how to use Onionshare, an open source desktop utility that allows you to share files hosted on your own computer of any size securely and anonymously using the\u00a0<a href=\"https:\/\/www.tecmint.com\/tor-browser-for-anonymous-web-browsing\/\" target=\"_blank\" rel=\"noopener\">Tor browser<\/a>\u00a0on the other end.<\/p>\n<p>Please note that you don\u2019t necessarily have to be distributing top secret or otherwise highly confidential data in order to be concerned with your privacy \u2013 being able to share files securely and anonymously should be something we have access to every day. Let\u2019s see how we can do it very easily.<\/p>\n<h3>Installing Onionshare in Linux<\/h3>\n<p>As we mentioned earlier, with\u00a0<strong>Onionshare<\/strong>\u00a0you don\u2019t have to store online the files you want to share. Onionshare will start a web server locally and use a\u00a0<strong>Tor<\/strong>\u00a0service to make those files available over the Internet through the Tor network.<\/p>\n<p>Thus, only the person with the right permissions will be able to see them for as long as you allow them to. In theory, you will want to close the web server running on your local computer as soon as the remote user is done downloading files. Enough talk, let\u2019s now install\u00a0<strong>Onionshare<\/strong>. We will use the following environment:<\/p>\n<pre>Local host: <strong>Linux Mint 17.3 32 bits<\/strong>\r\nRemote host: <strong>Windows 7 Professional 64 bits<\/strong>\r\n<\/pre>\n<p>To install Onionshare in\u00a0<strong>Linux Mint<\/strong>, or another\u00a0<strong>Ubuntu<\/strong>\u00a0derivative (including\u00a0<strong>Ubuntu<\/strong>\u00a0itself), do:<\/p>\n<pre>$ sudo add-apt-repository ppa:micahflee\/ppa\r\n<\/pre>\n<p>Press enter when you\u2019re prompted to confirm whether you actually want the PPA to your software sources.<\/p>\n<pre>$ sudo apt-get update\r\n$ sudo apt-get install onionshare\r\n<\/pre>\n<p>If you are using\u00a0<strong>CentOS<\/strong>,\u00a0<strong>RHEL<\/strong>\u00a0or\u00a0<strong>Fedora<\/strong>, make sure you have\u00a0<a href=\"https:\/\/www.tecmint.com\/enable-rpmforge-repository\/\" target=\"_blank\" rel=\"noopener\">enabled the EPEL repository<\/a>:<\/p>\n<pre># yum update &amp;&amp; yum install epel-release -y\r\n# yum install onionshare\r\n<\/pre>\n<p>If you\u2019re using another distribution, you may want to follow the build instructions provided by the developer in\u00a0<a href=\"https:\/\/github.com\/micahflee\/onionshare\/blob\/master\/BUILD.md#gnulinux\" target=\"_blank\" rel=\"nofollow noopener\">GitHub<\/a>.<\/p>\n<p>Once\u00a0<strong>Onionshare<\/strong>\u00a0is installed and before launching it you will also need to install and start in the background the\u00a0<a href=\"https:\/\/www.tecmint.com\/tor-browser-for-anonymous-web-browsing\/\" target=\"_blank\" rel=\"noopener\">Tor browser<\/a>. This will help set up the secure channel between your computer and the remote user\u2019s machine.<\/p>\n<p>To accomplish this goal, follow these steps:<\/p>\n<p><strong>Step 1<\/strong>\u00a0\u2013 Head over to the\u00a0<a href=\"https:\/\/www.torproject.org\/download\/download-easy.html.en\" target=\"_blank\" rel=\"noopener\">Tor project\u2019s website<\/a>\u00a0and download the program. At the time of this writing, the latest version of Tor is\u00a0<strong>6.0.2<\/strong>:<\/p>\n<p><strong>Step 2<\/strong>\u00a0\u2013 Untar the file, change to the directory where the files were extracted, and start\u00a0<strong>Tor<\/strong>:<\/p>\n<pre>$ tar xJf tor-browser-linux32-6.0.2_en-US.tar.xz\r\n$ cd tor-browser_en-US\r\n$ .\/start-tor-browser.desktop\r\n<\/pre>\n<p><strong>Step 3<\/strong>\u00a0\u2013 Connect to the Tor network. You will only need to do this once.<\/p>\n<div id=\"attachment_21195\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/Start-Tor-Browser.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21195\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/Start-Tor-Browser.png\" alt=\"Start Tor Browser\" width=\"440\" height=\"440\" aria-describedby=\"caption-attachment-21195\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-21195\" class=\"wp-caption-text\">Start Tor Browser<\/p>\n<\/div>\n<p>We are now ready to launch\u00a0<strong>Onionshare<\/strong>\u00a0from our list of installed programs (sorry the above image is in Spanish). You can either add files using the\u00a0<strong>Add Files<\/strong>\u00a0button or dragging and dropping them in the white area (\u201c<strong>Drag files her<\/strong>e\u201d):<\/p>\n<div id=\"attachment_21196\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-Secure-File-Sharing.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21196\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-Secure-File-Sharing.png\" sizes=\"auto, (max-width: 776px) 100vw, 776px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-Secure-File-Sharing.png 776w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-Secure-File-Sharing-768x347.png 768w\" alt=\"OnionShare Secure File Sharing\" width=\"776\" height=\"351\" aria-describedby=\"caption-attachment-21196\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-21196\" class=\"wp-caption-text\">OnionShare Secure File Sharing<\/p>\n<\/div>\n<p>After you started Onionshare\u2019s web server, the files in the list become available through the given URL (see highlighted in the image above). You can then copy it using the\u00a0<strong>Copy URL<\/strong>\u00a0button and send it to the person you want to share the files with. Keep in mind, however, that this URL will not be accessible by a regular web browser such as Firefox, Google Chrome, Opera, Safari, or Internet Explorer. The other person needs to be using the Tor browser (downloads for other operating systems are available in the project\u2019s website).<\/p>\n<p>It is important to note that protecting the URL is essential in this process. You don\u2019t want to share it over an insecure channel or non-encrypted chat service. A Google search for encrypted chat services (without quotes) will return a list of options you may want to consider to share the download URLs.<\/p>\n<p>When the remote user points the Tor browser to the URL, he or she will be given the option to download the file. The blue button shows the changed name of the file, whereas the original appears right below. Tor will warn you that it can\u2019t open the file and advise you to download it, but warning you to be aware that in order to keep your privacy- you should avoid opening files that may circumvent Tor and connect you directly to the Internet:<\/p>\n<div id=\"attachment_21197\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-File-Sharing-Using-Tor-Browser.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21197\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-File-Sharing-Using-Tor-Browser.png\" alt=\"OnionShare File Sharing Using Tor Browser\" width=\"438\" height=\"497\" aria-describedby=\"caption-attachment-21197\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-21197\" class=\"wp-caption-text\">OnionShare File Sharing Using Tor Browser<\/p>\n<\/div>\n<p>After the download is finished, the server running on your local machine will be automatically closed by Onionshare:<\/p>\n<div id=\"attachment_21198\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-File-Download.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-21198\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/06\/OnionShare-File-Download.png\" alt=\"OnionShare File Download\" width=\"348\" height=\"344\" aria-describedby=\"caption-attachment-21198\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-21198\" class=\"wp-caption-text\">OnionShare File Download<\/p>\n<\/div>\n<p>Please note that even though we have illustrated the use of Onionshare with a single file, it supports the transfer of several files and folders over a single URL, and multiple persons downloading at the same time.<\/p>\n<h3>Summary<\/h3>\n<p>In this guide we have shown how to install\u00a0<strong>Onionshare<\/strong>\u00a0and use it, along with the\u00a0<strong>Tor<\/strong>\u00a0network, to share files securely and anonymously. With Onionshare you can forget about worrying about your privacy and the care given to your personal data by third party businesses. You\u2019re now in full control of your precious, private files.<\/p>\n<p>To read more about\u00a0<strong>Tor<\/strong>, and find out suggestions to use the network more effectively, you may want to refer to the full list of warnings in the project\u2019s website\u00a0<a href=\"https:\/\/www.torproject.org\/download\/download-easy.html.en#warning\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/install-onionshare-linux-share-files-securely-and-anonymously-tor-network\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s mid-2016 and there are lots of methods to share files online between you and another person 12 timezones away. Some of them are convenient in that they offer a certain amount of disk space for free, and also offer commercial options if you require more storage. OnionShare \u2013 Share Files of Any Size Securely &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/28\/how-to-securely-and-anonymously-share-files-of-any-size-over-the-tor-network-with-onionshare\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Securely and Anonymously Share Files of Any Size Over the Tor Network with OnionShare&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12787","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=12787"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12787\/revisions"}],"predecessor-version":[{"id":12788,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12787\/revisions\/12788"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=12787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=12787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=12787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}