{"id":2813,"date":"2019-11-27T20:10:37","date_gmt":"2019-11-27T20:10:37","guid":{"rendered":"https:\/\/www.seafog.net\/QuickNotes\/?p=2813"},"modified":"2019-11-27T20:10:37","modified_gmt":"2019-11-27T20:10:37","slug":"prudence-paranoia","status":"publish","type":"post","link":"https:\/\/www.seafog.net\/PeresRamblings\/prudence-paranoia\/","title":{"rendered":"Prudence \/ Paranoia"},"content":{"rendered":"\n<p>It&#8217;s that time again. Soon I will head out &#8220;on the road&#8221;. This time (yet another) trip to Spain. In transit, I will be away from home, and face the constant challenge of keeping electronic devices including my mobile phone and tablet charged. Often that means plugging a charging device into an electrical outlet (&#8220;mains&#8221; to you Brits). But sometimes, the convenient place to charge is at a public charging station that provides a &#8220;USB&#8221; socket for a charging cable.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"444\" src=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/00-USB.jpg\" alt=\"\" class=\"wp-image-2814\" srcset=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/00-USB.jpg 502w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/00-USB-300x265.jpg 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/figure>\n\n\n\n<p>OK, although I think of myself as &#8220;prudent&#8221;, others characterize me as a raving paranoid! Let&#8217;s just say that safety is a good policy. There have been reports of public charging stations that take advantage of travelers plugging in cell phones etc,. will use that opportunity to either steal data from the device, delete files, or plant malicious files on the phone. After all, that USB cable you use to charge your phone is the same cable you can use to transfer data back and forth between your mobile  phone and your computer. <\/p>\n\n\n\n<p>When we read stories like that, there is always a bit of doubt as to whether the reports of data theft are real, or just an excuse to sell a solution to the &#8220;problem&#8221;. <\/p>\n\n\n\n<p>I have a fair amount of experience with USB charging\/data cables from my work on the ESL-Kiosk project. I knew that USB cables involve four wires: two that transmit power and two that transmit data. I had experienced difficulties as I did intensive market research to find suitable cost-effective (cheap!) MP3 players for the classroom. Sometimes cheap USB cables used only two rather than four wires. This made them usable for charging but not file transfers. <\/p>\n\n\n\n<p>Armed with that knowledge, I thought that somebody must make a simple USB dongle that blocks transmission of the data signals from one end to the other. Easy-peasy! (and obviously very cheap to make). <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"973\" height=\"455\" src=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/00-Amazon.jpg\" alt=\"\" class=\"wp-image-2815\" srcset=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/00-Amazon.jpg 973w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/00-Amazon-300x140.jpg 300w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/00-Amazon-768x359.jpg 768w\" sizes=\"auto, (max-width: 973px) 100vw, 973px\" \/><\/figure>\n\n\n\n<p>Well, indeed such devices are available. On Amazon, they sell for $7 &#8211; $20!! Hardly cheap!!<\/p>\n\n\n\n<p>OK, full disclosure, Amazon is usually NOT the cheapest source for consumer goods. I did check eBay and Aliexpress, where I found devices for as little as $3. But, procrastination leaves me without the option of waiting a couple weeks to a month to receive something from Aliexpress!<\/p>\n\n\n\n<p> As I pondered my (paranoid) dilemma, I glanced over at my bookcase and  noticed a couple of (cheap!) short USB extension cables. I have no  memory of what possessed me  to ever buy uselessly short &#8220;extension&#8221;  cables. But, there was my answer! <\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"283\" height=\"300\" src=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/01-ExtentionCable-1-283x300.jpg\" alt=\"\" class=\"wp-image-2817\" srcset=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/01-ExtentionCable-1-283x300.jpg 283w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/01-ExtentionCable-1-965x1024.jpg 965w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/01-ExtentionCable-1-768x815.jpg 768w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/01-ExtentionCable-1-1448x1536.jpg 1448w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/01-ExtentionCable-1.jpg 1832w\" sizes=\"auto, (max-width: 283px) 100vw, 283px\" \/><figcaption>Cheap (in price AND quality) USB extension cable<\/figcaption><\/figure>\n\n\n\n<p>I grabbed a couple nearby tools&#8230; (Don&#8217;t try this at home folks!)<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-Tools-300x300.jpg\" alt=\"\" class=\"wp-image-2819\" srcset=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-Tools-300x300.jpg 300w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-Tools-1024x1024.jpg 1024w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-Tools-150x150.jpg 150w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-Tools-768x768.jpg 768w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-Tools-1536x1536.jpg 1536w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-Tools.jpg 1800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption>Wire cutter and razor knife<\/figcaption><\/figure>\n\n\n\n<p>Making a careful, sort incision (slicing open!) in the middle of the cable, I examined the wires. Black, white, yellow and red. Well, it was reasonable to guess that the black and red wires carried power. So I boldly clipped the white and yellow ones.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"589\" src=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-YellowWhiteCut-1024x589.jpg\" alt=\"\" class=\"wp-image-2820\" srcset=\"https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-YellowWhiteCut-1024x589.jpg 1024w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-YellowWhiteCut-300x173.jpg 300w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-YellowWhiteCut-768x442.jpg 768w, https:\/\/www.seafog.net\/PeresRamblings\/wp-content\/uploads\/02-YellowWhiteCut.jpg 1494w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I tested connecting my phone to my computer. Using a regular USB cable, a message appeared on the screen to allow the option of just charging, or performing data transfer. I then plugged my homemade safety-cable into the charger and my normal cable from it to my phone. It charged, and did NOT offer to transfer data! <\/p>\n\n\n\n<p>OK, one small detail  about the USB standard is that normally it will not &#8220;charge&#8221; at more than one half amp. By &#8220;shorting&#8221; each exposed white-yellow pair, more current is allowed to pass.<\/p>\n\n\n\n<p>All done, a bit of black electrical tape to cover the wound in the cable, and I am ready to rock and roll!!<\/p>\n\n\n\n<p>Afterword: The less paranoid out there will point out that my phone did provide protection. It *asked my approval* before changing from charging to data-transfer mode. Most devices do that. So in the end, I suppose I spent a bunch of time in a useless exercise in paranoia. Well, I enjoyed it! \ud83d\ude09<\/p>\n<div class=\"remoji_bar\"><div class=\"remoji_add_container\" data-remoji-id=\"2813\" data-remoji-type=\"post\"><div class=\"remoji_add_icon\"><\/div><\/div><div class=\"remoji_error_bar\" data-remoji-id=\"2813\" data-remoji-type=\"post\" style=\"display: none;\">Error happened.<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>It&#8217;s that time again. Soon I will head out &#8220;on the road&#8221;. This time (yet another) trip to Spain. In transit, I will be away from home, and face the constant challenge of keeping electronic devices including my mobile phone and tablet charged. Often that means plugging a charging device into an electrical outlet (&#8220;mains&#8221; &hellip; <a href=\"https:\/\/www.seafog.net\/PeresRamblings\/prudence-paranoia\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Prudence \/ Paranoia<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-2813","post","type-post","status-publish","format-standard","hentry","category-health"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.seafog.net\/PeresRamblings\/wp-json\/wp\/v2\/posts\/2813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seafog.net\/PeresRamblings\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seafog.net\/PeresRamblings\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seafog.net\/PeresRamblings\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seafog.net\/PeresRamblings\/wp-json\/wp\/v2\/comments?post=2813"}],"version-history":[{"count":0,"href":"https:\/\/www.seafog.net\/PeresRamblings\/wp-json\/wp\/v2\/posts\/2813\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.seafog.net\/PeresRamblings\/wp-json\/wp\/v2\/media?parent=2813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seafog.net\/PeresRamblings\/wp-json\/wp\/v2\/categories?post=2813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seafog.net\/PeresRamblings\/wp-json\/wp\/v2\/tags?post=2813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}