<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Joseph Szczesniak on Medium]]></title>
        <description><![CDATA[Stories by Joseph Szczesniak on Medium]]></description>
        <link>https://medium.com/@JosephScript?source=rss-a48fa23706e5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AklJZP-Q1WjrZN_FOE8P7g.jpeg</url>
            <title>Stories by Joseph Szczesniak on Medium</title>
            <link>https://medium.com/@JosephScript?source=rss-a48fa23706e5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 19:29:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@JosephScript/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SEO Friendly SPAs]]></title>
            <link>https://itnext.io/seo-friendly-spas-d3c461a56217?source=rss-a48fa23706e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3c461a56217</guid>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Joseph Szczesniak]]></dc:creator>
            <pubDate>Fri, 31 Aug 2018 15:37:58 GMT</pubDate>
            <atom:updated>2018-09-07T15:04:52.996Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Lgji4Inkh1LaCLCtNHdJw.jpeg" /><figcaption>SEO is essential for garnering organic traffic to your site.</figcaption></figure><p>Search Engine Optimization enhancements can be very useful for driving more traffic to marketing sites, blogs, and other apps. But more and more of these sites/apps are being built using Single Page Applications (SPAs), or, sites that are rendered entirely within the client’s browser.</p><p>Search Engine Optimization (SEO) is a discipline focused on making websites appear higher in organic (non-paid) search results in search engines such as Google, Bing, and Yahoo. It also has grown to include social media such as Twitter, Facebook, and Instagram. However, SEO encompasses more than just making search friendly URLs and keywords and adding it to those platforms. It includes everything from how you link to your website, to the words on the pages themselves, and the meta tags you include in the head. In-fact, entire books have been written on the subject, and companies exist solely to help you with your SEO. With this in mind, the majority of SEO specific topics will not be covered here. Instead I’ll focus primarily on things you can do within an SPA using JavaScript to make your site more SEO friendly. Google &amp; Bing’s Webmaster Guidelines provide some simple advice on SEO. So take a look at these resources before continuing.</p><p>Google’s Webmaster guidelines:</p><p><a href="https://support.google.com/webmasters/answer/35769?hl=en">https://support.google.com/webmasters/answer/35769?hl=en</a></p><p>Bing’s Webmaster guidelines:</p><p><a href="https://www.bing.com/webmaster/help/webmaster-guidelines-30fba23a">https://www.bing.com/webmaster/help/webmaster-guidelines-30fba23a</a></p><h4>Single Page Applications and SEO</h4><p>SPAs are different than traditional websites. In the early days of the Internet, a website was simply an HTML file that was served from a computer at a college, government agency, or a business. They were easy to search because all of the content was directly embedded in that file, much like reading a document in a word processor. It had a clear hierarchy, much like a document too. The Document Object Model (DOM) that a website uses even reflects this. For example &lt;h1&gt;through &lt;h6&gt; tags are headers, used to start parts of the document. A &lt;p&gt; tag is a paragraph, and there are usually multiple paragraphs containing content within a &lt;section&gt;. And a &lt;table&gt; is used for tabular data. If you need more information on HTML itself, read MDN&#39;s <a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML">Introduction to HTML</a>. For more about the DOM how to interact with it using JavaScript read MDN&#39;s <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Introduction">Introduction to the DOM</a>.</p><p>Server side rendering was added later as a way to load content into a page before being served to the client. This allowed people to write blogs and news sites, and eventually start creating applications to serve a variety of business needs. As applications grew in complexity people had to start using HTML to express things that aren’t very document like. This created a need for SEO in order to allow search engines to find content within these sites and applications.</p><p>However, as JavaScript frameworks have become more prevalent, websites have changed even more dramatically. Features such as infinite scrolling, the loading of data asynchronously after the HTML has been loaded via Ajax and other XHR libraries, and client side rendering of DOM elements have made it difficult for search engines to crawl pages. SPAs can even update entire pages without ever making another request to the server or even changing the URL.</p><p>Now SPAs are commonplace and search engines know how to consume them. Google created and Microsoft adopted Angular.js, Facebook did the same with React.js. They also re-engineered their search functions to be able to fully load and crawl a SPA. But this doesn’t mean you can simply build one and just have it show up in search engines. Without going into the basics of how SEO works, here are some things you can do to ensure your SPA will work with search engines.</p><h4>Pretty URLs</h4><p>Many client side frameworks use hashes (URLs that contain # such as http(s)://www.example.com/#about) and hashbangs (http(s)://www.example.com/#!key=value) to handle their routing. Functionally, the SPA is behaving in the same way as a regular website. The URL changes and the content is updated using using a JavaScript router or other means. And even though you might think that the robots crawling your site might not care if you use a hash, users using your site will see a cleaner looking more user friendly URL without them.</p><p>Additionally, some crawlers such as Google’s interpret URLs with hashbangs #! as an indicator that an alternative conventional URL exists providing the same page state at load time. For this reason it is recommended to use just hashes http(s)://www.example.com/#/pagename or HTML5 style hashless routes like http(s)://www.example.com/pagename by using technologies like PushState. PushState is a way to change the URL displayed in the browser through JavaScript without reloading the page. It alters the history object like this: window.history.pushState(data, &quot;Page Title&quot;, &quot;/new-url&quot;). You end up with a pretty URL.</p><p>Another commonly used URL trick is the query string. Using the query string for things like categories, search terms, and other parameters is perfectly acceptable. It can be used in combination with any of the above mentioned URL manipulation techniques. Search engines can differentiate http(s)://www.example.com/?category=people from http(s)://www.example.com/?category=cars, especially if each URL is defined and encouraged to be indexed in your sitemap.</p><h4>Sitemaps</h4><p>Sitemaps are used by search engines to better understand the content of your website. You may not always need one. Such as if your site is very small and well linked throughout. However, if your site is really large or poorly linked it’s more likely web crawlers might overlook new or recently updated pages.</p><p>But if your site has a large archive of content pages that are isolated or not well linked to each other, a sitemap can be a good strategy. For example if your site pages do not naturally reference each other through links, you can list them in a sitemap to ensure that web crawlers do not overlook those pages. Additionally, if your site is new and has few external links to it, web crawlers might not find it. Or if you use metadata such as videos or image content. Crawlers typically follow from one page to another and might not discover your pages or content if no other sites link to them. In this case a sitemap is beneficial.</p><p>For a bot to use your sitemap, you must create and host a file named sitemap.xml. The contents and structure of your sitemap.xml is not covered here. Read more at <a href="https://www.xml-sitemaps.com/">Learn about sitemaps - Search Console Help</a>.</p><p>If your site is statically hosted you can simply place your sitemap.xml at the root level. If you are using a server side framework such as Express you can host the file that way:</p><pre>app.get(&#39;/sitemap.xml&#39;, (req, res, next) =&gt; {<br>    res.sendFile(&#39;public/sitemap.xml&#39;)<br>})</pre><p>There are other ways to host the file depending on your framework. For instance, using Express you can serve everything in the public folder using express.static. See <a href="https://expressjs.com/en/starter/static-files.html">Serving static files in Express</a> for more information.</p><pre>app.use(express.static(__dirname + &#39;/public&#39;))</pre><p>To tell bots about your sitemap file, you will need to reference it in a file called robots.txt:</p><pre>// robots.txt<br>Sitemap: /sitemap.xml</pre><p>Make sure you are also serving this file at the root as well, or within a framework like Express:</p><pre>app.get(&#39;/robots.txt, (req, res, next) =&gt; {<br>    res.sendFile(&#39;public/robots.txt&#39;)<br>})</pre><p>Or if you’re using express.static, just put it in your /public folder. There are many ways to do this, and it depends on the server (Apache, Nginx, Express, etc.).</p><p>Bots will always look at the root URL for this file. Ensure it’s being served at http(s)://www.example.com/robots.txt.</p><p>Additionally, there are tools available to dynamically render your sitemaps for you. A popular choice for Node is the NPM Package <a href="https://www.npmjs.com/package/sitemap">sitemap</a>.</p><h3>Caching</h3><p>Another easy way to boost your SEO is to have faster page load times. Modern web-crawlers care about load times and will prioritize faster pages with similar content above slower ones. Since JavaScript frameworks render after the page and all the assets are downloaded (sometimes even waiting on Ajax/XHR calls to complete), they are typically slower than pre-rendered server side pages. I recommend using Google’s <a href="https://medium.com/(https://developers.google.com/speed/pagespeed/insights/)">PageSpeed Insights</a> to test your pages .</p><p>One way to speed up page loads is to cache your content, especially if it isn’t content that changes frequently. This can be handled in Express quite easily.</p><p>If you’re hosting your files in a static folder you can simply use Express.static:</p><pre>const cacheTime = 86400000*10 // 10 days</pre><pre>app.use(express.static(__dirname + &#39;/public&#39;, { maxAge: cacheTime }))</pre><p>Alternatively, if you’re using sendFile you can set the cache there:</p><pre>app.get(&#39;/robots.txt, { maxAge: cacheTime }, (req, res) =&gt; {<br>    res.sendFile(&#39;public/robots.txt&#39;)<br>})</pre><p>If you are hosting your files on a CDN you will instead need to configure caching rules there. This is recommended for pure static pages, and you can try out Amazon CloudFront, CloudFlare or other CDNs. But if you’re working with Node this can be a very easy and scalable solution. I recommend looking more into the rules at <a href="https://expressjs.com/en/api.html">Express 4.x — API Reference</a>.</p><p>Finally, using gzip or deflate to compress serve your content can speed things up dramatically. In express this is easily acheived using compression.</p><pre>$ npm install compression</pre><pre>const compression = require(&#39;compression&#39;)<br>const express = require(&#39;express&#39;)</pre><pre>const app = express()</pre><pre>// compress all responses<br>app.use(compression())</pre><pre>// add all routes</pre><p>See the <a href="https://github.com/expressjs/compression">documentation</a> for configuration.</p><h4>Pre-rendering</h4><p>There are some tools for pre-rendering your page before sending it to the client. This also speeds up load times which increases your SEO and overall user experience. With this approach you run your app before deploying it, capture the page output and replace your HTML files with this captured output. Typically this is achieved with a headless browser (a web browser without a graphical user interface) such as PhantomJS.</p><p>Pre-rendering is a good choice because there is no additional server load, and therefore faster and cheaper than server side rendering. It is also a simpler production setup and allows you to write more simple application code (no need for isomorphic code). It is therefore less prone to errors and can be more easily cached for longer. Additionally it doesn’t require a Node.js production server.</p><p>Pre-rendering isn’t always a good choice. For instance, it does not work well for pages that display constantly changing data which must be loaded dynamically at load time, or for pages that have user-specific content. Typically pages that meet those requirements are less critical for pre-rendering anyway. Only frequently used pages that you want to serve up fast should be pre-rendered. Otherwise server-side rendering (SSR) might be a better option. (See the next section for more information on SSR.)</p><p>Here is an example of how to pre-render an application using the prerender-spa-plugin for Webpack. A commonly used JS bundler which has many other capabilities using plugins. You can find many other tools compatible with other languages, bundlers, or frameworks based on your needs.</p><pre>$ npm install --save-dev prerender-spa-plugin</pre><p>The pre-render plugin creates an instance of PhantomJS and runs the app. It then takes a snapshot of the DOM and outputs the snapshot to an HTML file in the Webpack build folder. It repeats this process for every route, so it can take quite a while to build the app if you have many pages.</p><p>Here is a simple example of a simple Webpack configuration using the pre-render plugin.</p><pre>// webpack.conf.js <br>const path = require(&#39;path&#39;)<br>const PrerenderSpaPlugin = require(&#39;prerender-spa-plugin&#39;)<br> <br>module.exports = {<br>  // ... <br>  plugins: [<br>    new PrerenderSpaPlugin(<br>      // Absolute path to compiled SPA <br>      path.join(__dirname, &#39;./public&#39;),<br>      // List of routes to prerender <br>      [ &#39;/&#39;, &#39;/about&#39;, &#39;/contact&#39; ]<br>    )<br>  ]<br>}</pre><p>In this example a new instance of the pre-render plugin is created, and you are letting it know which folder to output into and the list of routes you want the PhantomJS browser to visit while generating the HTML files. These are the only two required options when setting up the plugin. You can also optionally pass a more advanced configuration to the plugin.</p><pre>// webpack.conf.js <br>const path = require(&#39;path&#39;)<br>const PrerenderSpaPlugin = require(&#39;prerender-spa-plugin&#39;)<br> <br>module.exports = {<br> <br>  // ... <br> <br>  plugins: [<br>    new PrerenderSpaPlugin(<br>      // Absolute path to compiled SPA <br>      path.join(__dirname, &#39;./public&#39;),<br>      // List of routes to prerender <br>      [ &#39;/&#39;, &#39;/about&#39;, &#39;/contact&#39; ],<br>      // (OPTIONAL)<br>      {<br>          // options go here<br>      }<br>    )<br>  ]<br>}</pre><p>Unless you are relying on asynchronously rendered content, such as after an Ajax/XHR request, none of these options should be necessary. All synchronous scripts are already executed before capturing the page content. Each of the following options are part of the optional options object.</p><p>If you want to wait until a specific JavaScript event is fired in the page:</p><pre>captureAfterDocumentEvent: &#39;custom-post-render-event&#39;</pre><p>Then in your JavaScript file dispatch an event:</p><pre>document.dispatchEvent(new Event(&#39;custom-post-render-event&#39;))</pre><p>You can instead wait until a particular HTML element is detected with document.querySelector.</p><pre>captureAfterElementExists: &#39;#content&#39;</pre><p>Or optionally, you can wait until a number of milliseconds has passed after scripts have been executed. It’s important to note that this may produce unreliable results when relying on network communication or other operations with highly variable timing.</p><pre>lang: javascript<br>captureAfterTime: 5000</pre><p>You can even combine strategies if you like. For example, if you only sometimes want to wait for an event to fire, you can create a timeout by combining captureAfterTime with captureAfterDocumentEvent. When combining strategies, page content will be captured after the first triggered strategy.</p><p>Instead of loudly failing on JavaScript errors (the default), you can simply ignore them.</p><pre>lang: javascript<br>ignoreJSErrors: true</pre><p>To change the path of index file, instead of the default index.html in static root:</p><pre>lang: javascript<br>indexPath: path.resolve(&#39;/public/path/to/index.html&#39;)</pre><p>Because PhantomJS occasionally runs into intermittent issues, the plugin will automatically retry a page capture up to 10 times by default. You may raise or lower this limit if you wish.</p><pre>lang: javascript<br>maxAttempts: 10</pre><p>Now you must prevent PhantomJS from navigating away from the URL passed to it and prevent loading embedded iframes (e.g. Disqus and Soundcloud embeds), which are not ideal for SEO and may introduce JavaScript errors.</p><pre>lang: javascript<br>navigationLocked: true</pre><p>The options below expose configuration options for PhantomJS, for the rare case that you need special settings for specific systems or applications.</p><pre>lang: javascript<br>// http://phantomjs.org/api/command-line.html#command-line-options <br>phantomOptions: &#39;--disk-cache=true&#39;,</pre><pre>// http://phantomjs.org/api/webpage/property/settings.html <br>phantomPageSettings: {<br>  loadImages: true<br>},</pre><pre>// http://phantomjs.org/api/webpage/property/viewport-size.html <br>phantomPageViewportSize: {<br>  width: 1280,<br>  height: 800<br>}</pre><p>Now you can manually transform the HTML for each page after pre-rendering, for example to set the page title and metadata in edge cases where you cannot handle this via your routing solution.</p><p>The function’s context argument contains two properties:</p><ul><li>html - the resulting HTML after pre-rendering</li><li>route - the route currently being processed (e.g. &quot;/&quot;, &quot;/about&quot;, or &quot;/contact&quot;)</li></ul><p>Whatever is returned will be printed to the pre-rendered file.</p><pre>lang: javascript<br>postProcessHtml: context =&gt; {<br>    const titles = {<br>        &#39;/&#39;: &#39;Home&#39;,<br>        &#39;/about&#39;: &#39;Our Story&#39;,<br>         &#39;/contact&#39;: &#39;Contact Us&#39;<br>     }<br>     return context.html.replace(<br>         /&lt;title&gt;[^&lt;]*&lt;\/title&gt;/i,<br>         &#39;&lt;title&gt;&#39; + titles[context.route] + &#39;&lt;/title&gt;&#39;<br>     )<br>}</pre><p>Using this plugin will allow you to create simple HTML pages using whatever JS library you use. For example, React, Vue, Angular, Riot or any other, which can be hosted in a directory on your server using Express or whatever server you prefer.</p><p>Note that the pre-render plugin only works with routing strategies using the HTML5 history API (PushState). No hash(bang) URLs will work using this method. So make sure you set up your JS router to use URLs like http(s)://www.example.com/contact. Additionally, you should always load your SPA when the DOM is ready, by putting your tag inside of the DOM event DOMContentLoaded.</p><p>But remember, this is not a good option if you’re planning on running dynamically changing pages that are very data intense and ever changing based on the data. For example if you want dynamically generated data based on user information. Instead, server side rendering would be a more viable option for such a site.</p><h4>Server Side Rendering</h4><p>The methods above are best used with applications that are meant to be rendered once and not dynamic. For example, marketing websites, a homepage for a product, or a sales application.</p><p>For more information on Server Side Rendering with JavaScript frameworks, check out the <a href="https://reactjs.org/docs/react-dom-server.html">ReactDomServer</a> and <a href="https://vuejs.org/v2/guide/ssr.html">Vue Server-Side Rendering</a>. Additionally most other JS frameworks have SSR solutions now. For example, two of my favorite SSR frameworks are <a href="https://nextjs.org/">NextJS</a> and <a href="https://www.gatsbyjs.org/">GatsbyJS</a>. Additionally, using an SSR <a href="https://expressjs.com/en/guide/using-template-engines.html">templating engine for Express</a> will always work and is actually what we do for our <a href="https://www.aureliuslab.com/">Aurelius</a> homepage. We’re currently using <a href="https://markojs.com/docs/express/">MarkoJS for Express</a> which is easy to use and very fast.</p><p>Please feel free to comment and let me know what you think about this guide to SEO for SPAs. If there is anything you’d like to see added or questions you have just let me know and I can try to help out. If I get enough feedback I might do a follow-up on SSR specifically.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3c461a56217" width="1" height="1" alt=""><hr><p><a href="https://itnext.io/seo-friendly-spas-d3c461a56217">SEO Friendly SPAs</a> was originally published in <a href="https://itnext.io/">ITNEXT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You don’t need to be a spook to protect your privacy online (and it’s not very difficult)]]></title>
            <link>https://medium.com/@JosephScript/you-dont-need-to-be-a-spook-to-protect-your-privacy-online-and-it-s-not-very-difficult-81b095c9967f?source=rss-a48fa23706e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/81b095c9967f</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[government]]></category>
            <category><![CDATA[surveillance]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Joseph Szczesniak]]></dc:creator>
            <pubDate>Thu, 30 Mar 2017 20:29:50 GMT</pubDate>
            <atom:updated>2017-03-30T20:32:26.189Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*tNpoXXHXsAxDcQDGeHWPzQ.png" /></figure><p>On Thursday March 23rd, the Senate voted along strongly divided party lines to invalidate the FCC’s broadband privacy regulations. The resolution, <a href="http://www.broadcastingcable.com/news/washington/congressional-move-invalidate-privacy-regs-introduced/163877"><strong>S.J Res. 34</strong></a>, then went to the House of Representatives.</p><p>Then on Tuesday March 28th the Republican majority voted to pass the ruling, effectively killing the FCC’s regulations to uphold consumer rights in regards to internet privacy. The measure has now passed both chambers of Congress and will move to President Trump’s desk to be signed into law.</p><p>Without these rules, ISPs (Internet Service Providers) are free to record all your data, sell it to third parties (and create new targets for hackers), install software on your phone to track your activity, inject advertisements into your web browser, and undermine the basic encryption technology that keeps all of us secure as we use the internet (<a href="https://www.eff.org/deeplinks/2017/03/five-ways-cybersecurity-will-suffer-if-congress-repeals-fcc-privacy-rules">source</a>).</p><p>So, what can you do about this? Here are some easy steps you can take to help secure your usage of the internet.</p><h4>(Good) Use the TOR Browser</h4><p>The Onion Router/TOR network is a network within a network, which essentially bounces your data around a series of server to obscure the origin of requests made of the network. Tor is open-source and very well vetted among the academic/research community. <a href="https://theintercept.com/2015/11/12/edward-snowden-explains-how-to-reclaim-your-privacy/">Edward Snowden recommends it</a> as one of the few encryption tools that are successfully able to circumvent NSA level surveillance. It is frequently used to access the dark web for sales of drugs, firearms, and other illegal &amp; spooky stuff.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IQwQK9xbiY6OMiVnrDDYyQ.png" /></figure><p>TOR is available for Android (as <a href="https://guardianproject.info/apps/orbot/">Orbot</a>), Windows, Mac and Linux. Go ahead and download it <a href="https://www.torproject.org/projects/torbrowser.html.en">here</a>. In order to get Tor to work, you have to <a href="https://www.torproject.org/download/download-easy.html.en#warning">follow their directions</a>. In addition, TOR <a href="http://www.darkreading.com/risk-management/tor-anonymity-cracked-fbi-porn-investigation-role-questioned/d/d-id/1111037">has been cracked</a> in the past, but only in particular cases. Moreover the speed of Tor is abysmal at all times, due to the nature of bouncing data around the Onion.</p><p>But no amount of security is perfect. If you’re going to use it, use it with a VPN too (<em>make sure to connect to the VPN first</em>)…</p><h4>(Better) Use a privacy VPN</h4><p>A VPN (virtual private network) redirects your internet traffic through another network and also encrypts information you send across the internet, effectively disguising where your computer, phone or other device is when it makes contact with websites making it unreadable to anyone who intercepts your traffic. That includes your ISP.</p><p>The issue is that when you send your data through a VPN, now the VPN provider has access to all your data. This can be a major problem (and eventually nullify your efforts). So do your research and find a reputable VPN provider.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*f7ajjz0NEBP9S_PEXKY3TA.png" /><figcaption>PIA is a solid VPN to protect your data from ISPs.</figcaption></figure><p>Many people trust <a href="https://www.privateinternetaccess.com/">Private Internet Access</a> with their data. They do not sell, store, or log anything about you or your browsing. They have a track record to prove it, and are willing to <a href="http://www.pcworld.com/article/3094370/vpn-provider-cuts-of-service-to-russia-after-servers-seized.html">fight the authorities</a> over it. They’re also one of the best deals for a VPN around and cost only $3.33 per month (for the 12 months subscription) <strong>for up to 5 devices</strong>. They offer a list of features such as PICE MACE to block ads and malware, P2P support, no-setup encryption, and more.</p><p>You can download it for Mac, Windows, Linux, Android and iOS. If you’re on a controlled machine like some people are at work, you can use the Chrome Extension. <a href="https://www.privateinternetaccess.com/pages/client-support/">Download it here</a>, type in your username and password, and hit save and connect and you’re all set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1JtbG23Wtod90rcVhyFEZw.png" /><figcaption>PIA has issues with Netflix and other streaming sites that block VPNs.</figcaption></figure><p>Netflix and other streaming sites have started to block VPNs because you can easily spoof IP Addresses from around the world, and potentially get around DRM. Even though PIA rotates their IP Addresses, it frequently has issues with streaming apps and other sites. This is a problem for almost all VPNs. Typically I use my TV for this stuff, so it doesn’t bother me much.</p><p>If you’re worried about your location history or other advertising IDs tracking you when you’re traveling, you should make sure to disable those features while disconnected from your VPN for streaming purposes.</p><h4>(Always) Use HTTPS Everywhere</h4><p>You need to use HTTPS. Period. If you’re not using HTTPS then your data is not encrypted and is sent in plain text across all those networks, to be sniffed by spooks, hackers and ISPs alike.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*jogoQhXyjaUhGgCXaJ_eZA.png" /><figcaption>Use HTTPS Everywhere to ensure you’re using an encrypted means of communication.</figcaption></figure><p>Make sure you use a plugin to enforce encryption everywhere. <a href="https://www.eff.org/Https-Everywhere">HTTPS Everywhere</a> is a easy to install and use plugin, available for all your browsers. Simply go to that site, and click install.</p><p><strong>Note:</strong> If you’re not already using <a href="https://play.google.com/store/apps/details?id=org.mozilla.firefox&amp;referrer=utm_source%3Dmozilla%26utm_medium%3DReferral%26utm_campaign%3Dmozilla-org">Firefox for Android</a>, you should switch simply so that you can use this plugin.</p><h4>(Bonus) Encrypt Your Communications with Signal</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*0xM0-Y8SCHKmxojgMCPVMg.png" /><figcaption>Signal Private Messenger by Open Whisper Systems</figcaption></figure><p>Signal is the easiest way to send encrypted messages on <a href="https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms&amp;referrer=utm_source%3DOWS%26utm_medium%3DWeb%26utm_campaign%3DNav">Android</a> and <a href="https://itunes.apple.com/us/app/signal-private-messenger/id874139669">iOS</a>. It’s a complete replacement for your existing SMS app. Both users must use Signal in order to send and receive fully encrypted SMS/MMS. However you can send messages to a non-Signal user within the same app, but it will send unencrypted messages (but at least it will encrypt them on your phone). You can also make encrypted VoIP calls.</p><p>Signal also has a <a href="https://chrome.google.com/webstore/detail/signal-private-messenger/bikioccmkafdpakkkcpdbppfkghcmihk">Desktop version for Chrome</a>. Signal is completely <a href="https://github.com/WhisperSystems">open source</a>, so you always know what’s happening under the covers.</p><h4>What else do you to protect your security?</h4><p>Let me know in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81b095c9967f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Take Back Your Data From Google]]></title>
            <link>https://medium.com/@JosephScript/how-to-take-back-your-data-from-google-65e17681e209?source=rss-a48fa23706e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/65e17681e209</guid>
            <category><![CDATA[government]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[duckduckgo]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[mozilla]]></category>
            <dc:creator><![CDATA[Joseph Szczesniak]]></dc:creator>
            <pubDate>Fri, 17 Mar 2017 19:24:54 GMT</pubDate>
            <atom:updated>2017-03-17T20:24:08.591Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v7pwWCjWfV_nKzJcKsi31g.png" /><figcaption>The all seeing eyes of Google</figcaption></figure><p>I’ve always been a privacy advocate, but that doesn’t make me a nut. It seems like most people think of privacy advocates as tinfoil hat wearing luddites, who eschew a modern lifestyle, cell phones and technology. But this couldn’t be further from the truth.</p><p>I’m a Software Engineer and the <a href="https://www.aureliuslab.com/about">CTO of my own SaaS company</a>. I love technology, it’s part of my life. I use my Android smart phone for nearly everything, I use Google Chrome for browser testing and development, use Gmail, Inbox, Hangouts, etc.</p><p>But, that doesn’t mean I trust Google.</p><p>They say they aren’t evil (or at least they <a href="https://www.engadget.com/2015/10/02/alphabet-do-the-right-thing/">do the right thing</a>). But my trust keeps slipping with all the <a href="http://www.salon.com/2014/11/16/googles_secret_nsa_alliance_the_terrifying_deals_between_silicon_valley_and_the_security_state/">creepy secret ties to NSA, the CIA, and the FBI</a>, the <a href="https://www.theguardian.com/world/2013/jun/06/us-tech-giants-nsa-data">PRISM program</a> leaks, stories about them <a href="https://techcrunch.com/2017/02/04/google-told-to-hand-over-foreign-emails-in-fbi-search-warrant-ruling/">handing email over</a> to the courts, and their aggressive tracking and advertising tactics, all in the goal of becoming one of the most <a href="http://beta.fortune.com/fortune500/alphabet-36/">profitable</a> company ever.</p><p>I wasn’t too worried about all of this until yesterday. I read an article that right here in MN, the Hennepin County Senior Judge Gary Larson ruled to force Google to turn over a entire city’s Google history <a href="https://arstechnica.com/tech-policy/2017/03/judge-oks-warrant-to-reveal-who-searched-a-fraud-victims-name-on-google/">including</a> e-mail addresses, payment information, MAC addresses, social security numbers, dates of birth, and IP addresses to the Edina Police Department, all because of search terms.</p><p>This made me realize that I’m not any different, and I’m not safe from having my data handed to (or possibly taken covertly from) Google. Just because I’m not a terrorist, an extremist, and am a law abiding citizen, that doesn’t mean I’m safe from the fishing-net they’re casting into the oceans of data out there. Using Google Search, Chrome, and even just carrying a Google Pixel in my pocket at all times means that <em>potentially someone — </em>be it the feds, the cops or some other government agency — could have access to nearly all of my data because I fit some blanket profile, a geolocation, or just a simple search result.</p><p>I decided to take my data back.</p><p>Here are the steps you can take today to stop your data from falling into someone else’s hands.</p><h3>If you want to keep Chrome, change your default search engine</h3><p>You don’t have to do this step, but search engines like <a href="https://duckduckgo.com/">DuckDuckGo</a> are really great, are always encrypted over SSL, and do not track you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B1EfxJtJFPv8A6PlrAh6iQ.png" /><figcaption>DuckDuckGo as the default search engine in Chrome for Desktop</figcaption></figure><ol><li>Open Google Chrome and navigate to <a href="/service/chrome://settings/searchEngines">chrome://settings/searchEngines</a>.</li><li>Scroll down to “Other Search Engines”</li><li>Type “DuckDuckGo” into Add A New Search Engine</li><li>Type “duckduckgo.com” into Keyword</li><li>Copy and paste <a href="https://duckduckgo.com/?q=%s"><em>https://duckduckgo.com/?q=%s</em></a> into the URL with %s in place of query box</li><li>Click off of the entry and it will be added to the list.</li><li>Click “Make Default” when you hover over the newly entered custom search engine. Google Chrome will automatically move DuckDuckGo up into the default search engines list, and will sync this to all your instances of the browser via Chrome sync.</li></ol><h3>Control your Chrome browser privacy</h3><p>Chrome has hidden privacy settings which will allow you to which data to send to Google and what not to. Google claims this improves your browsing experience, but the improvements aren’t worth the data you’re handing to them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OhJmZEf6J1CQAfj3N2ezvQ.png" /><figcaption>Stop sending all my data to Google!</figcaption></figure><ol><li>Open Chrome and go to <a href="/service/chrome://settings/">chrome://settings/</a>.</li><li>Scroll down to the bottom of the page and click “Advanced”.</li><li>Toggle off any settings you do not like. I recommend turning off everything except “Protect you and your device from dangerous sites” and “Send a ‘Do Not Track’ request with your browsing traffic”.</li></ol><h3>Clear your browsing history across all devices</h3><ol><li>Open Chrome and go to <a href="/service/chrome://settings/clearBrowserData">chrome://settings/clearBrowserData</a>.</li><li>Select “From the beginning of time”, check all the boxes and hit “Clear Browsing Data”</li></ol><h3>Install Firefox Instead</h3><p>Even with all of these settings disabled in Chrome, it still has access to your browsing history and some habits, it may still track you, and Google might still hand over your data. In addition, Google might add new tracking features that you’ll have to turn-off and revoke data access to later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*LaKKQtDrWKGizi9nW5mllw.png" /><figcaption>Use Firefox for a safer, more private web experience</figcaption></figure><p>Instead I recommend you use Firefox. Mozilla — the maker of Firefox — is a non-profit, a member of the Electronic Frontier Foundation (an international non-profit digital rights group), and their browser is completely open source (meaning anyone can look at it’s code and find out if there are sneaky tracking features in there, <a href="https://www.theguardian.com/technology/2015/jun/23/google-eavesdropping-tool-installed-computers-without-permission">unlike Chrome</a>). They also believe in <a href="https://www.mozilla.org/en-US/teach/smarton/surveillance/">standing up to Government Surveillance</a>.</p><ol><li>Download Firefox <a href="https://www.mozilla.org/en-US/firefox/new/">here</a>.</li><li>Browse freely.</li></ol><h3>Control the Data Created and Used by Google Across Devices</h3><p>Google’s “My Activity” will allow you to manage the way Google uses your data, and there you can delete any data you don’t want it to use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*2kbj6Mk5kIs3meQzhbIthQ.png" /><figcaption>Activity privacy!</figcaption></figure><ol><li>Go to <a href="https://myactivity.google.com/myactivity">https://myactivity.google.com/myactivity</a>. This can be done in any browser.</li><li>If you want to <strong>delete all of your data</strong>, click “Delete Activity By” in the left menu. In the Delete Data By drop down menu choose “All Time”.</li><li>If you want to remove all the ways Google Tracks you, you must <strong>turn off all Activity Controls</strong>. Click “Activity Controls” from the left menu, and move all the sliders into the off position.</li></ol><h3>Changing Your Default Search Engine on Android</h3><p>Unlike Chrome for desktop, Chrome for Android does not allow you to set custom search engines, and neither does the operating system itself. The only available search engines are Google, Yahoo!, Bing, Ask and AOL. I find this particularly unacceptable, and hope that Google allows us to use custom search engines in the future.</p><p>But for now, I’m going to show you a few different methods to prevent yourself from using Google.</p><h4>Install a Custom Launcher and Search</h4><p>Because I use a Google Pixel, I have Google Search shoved in my face at every turn. Instead I will replace the Pixel Launcher with a custom launcher. You might be able to skip this step if you can remove the Google Search widget from the home screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*BGVT9jyfxHMN1qouXicJpw.png" /><figcaption>Nova Launcher with the DuckDuckGo search widget.</figcaption></figure><ol><li>Install a custom launcher that allows you to customize search widgets. I am currently using <a href="https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher">Nova Launcher</a> which is free and very <a href="http://www.androidcentral.com/first-five-settings-know-when-switching-nova-launcher">customizable</a>, but take a look at a few and find one that suits your needs. I personally like Nova because <a href="http://www.androidcentral.com/app-shortcuts-nova-launcher-little-taste-nougat">feels like Android Nougat</a>, without shoving it’s opinion down your throat.</li><li>If your launcher has Google Search on the desktop, remove it by long pressing on it, and dragging it to the “trash” or “X” icon. If you can’t remove it, then you need a new launcher (go back to step 1).</li><li>Install the <a href="https://play.google.com/store/apps/details?id=com.duckduckgo.mobile.android">DuckDuckGo</a> search application. I recommend using this for searches and avoiding the Google Search that is still on the new tab page in Chrome for Android altogether.</li><li>Add the DuckDuckGo search box to your launcher. Press and hold the background of your launcher to open up the launcher menu, and click “Widgets”. Inside there you can find the DuckDuckGo search box, press and hold, and drag it to the place you want it.</li></ol><h4>Setting a new default search engine in Firefox</h4><p>On Firefox for Android:</p><ol><li>Open Firefox</li><li>Tap the kebab menu in the top right corner and tap “Settings”</li><li>Tap “Search”, and then “DuckDuckGo” and then “Set as default”</li></ol><p>On Firefox for Desktop:</p><ol><li>Click the hamburger menu in the top right, and click “Preferences”</li><li>Click “Search” and from the drop down menu select “DuckDuckGo”.</li><li>Optionally, uncheck “Provide search suggestions” to prevent what you’re typing from being sent to any additional servers</li></ol><h3>Locking down Google’s access to your location and data on your Android</h3><p><strong><em>Disclaimer:</em> Your experience with your Android phone will be much different after revoking location and data access, and you will be irreversibly deleting data. Do not do this unless you are sure.</strong></p><h4>To disable location services and location history on your phone:</h4><ol><li>Open up Settings and swipe down to <em>Personal</em> and tap “Google”.</li><li>Tap “Location” and slide the toggle to off.</li><li>Next tap “Google Location History” and toggle this to off as well.</li></ol><h4>Turn off personalized ads:</h4><ol><li>Go back to the “Google” settings and tap “Ads”.</li><li>Toggle “Opt out of Personalization” to off.</li></ol><h4>Turn off search services</h4><ol><li>Go back to the “Google” settings and tap “Ads”.</li><li>Tap “Search”. Here you can access a fine grained level of control over your data. You can decide what you want to turn off, but I removed everything intrusive.</li><li>Under Google Assistant tap “Settings” and toggle Google Assistant to off.</li><li>Tap “Notifications” and under “Doodles” toggle to off</li><li>Tap “Voice”, and under “OK Google Detection” toggle to off</li><li>Tap “Your Feed” and toggle to off</li><li>Tap “Screen Share” and toggle to off</li><li>Tap Autocomplete and under “Show trending stories” toggle to off</li></ol><h4>Turn off usage access</h4><ol><li>Go back to “Settings” and tap “Security”</li><li>Swipe all the way down and tap “Apps with usage access”</li><li>Disable any apps you want here. If an app is allowed access to your usage, it can track what other apps you’re using and how often, as well as your carrier, language settings, and other details. You may want to leave Google Play Services so that low level APIs aren’t affected (such as Google Fit, Google Authentication, etc). But if you don’t want anyone tracking your heart and sleep habits, I suggest you shut everything off.</li></ol><h3>Enjoy a New — <em>Freer</em> Experience</h3><p>Now that you’ve revoked all this access, you will find things to be a bit different, a bit quieter, but a bit “dumber”. But I’ve found it to be a much leaner, cleaner experience with a lot less stuff constantly nagging me. No more targeted ads, no more news articles I’m not going to read any way, no more pop-ups constantly telling me when I should leave work, nothing asking me to rate some place I happened to walk by.</p><p>Of course, there are some minor draw backs.</p><p>For example, your Uber/Lyft won’t be able to find you automatically and you’ll have to type in where you are or temporarily toggle location on. You won’t get turn by turn directions without turning on the GPS, and won’t be able to see nearby restaurants without searching for an area… but I think these are minor inconveniences that I honestly barely notice any more.</p><p>What else do you do to maintain your privacy?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65e17681e209" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>