Friday, February 10, 2017

Prepper Mission Omnipresence That Fits On A Floppy

Enterprise geolocation in an embedded server that fits on a floppy. My export data from OpenStreetMaps covers most of the Melbourne area with zoom level tiles. I have a dynamic DNS that allows me to browse to my test server from anywhere on Earth from any browser. Headed home I just brought the page up on my IPad and turned on series geolocation. Since I have a cookie stored with my Oauth token I was instantly authorized to send geolocation updates while driving. When I got home I was able to clean up the series with the built-in editor tools.

Since "navigator.geolocation" is not available on older browsers, I have a polyfill that statically sets a server configuration variable with the latitude and longitude of the server when the geolocation is turned on. I do this in quite a few places for IE6 and ancient browsers so that the user still gets useful data even when the browser does not support advanced features.

The map editor has a long ways to go. I am adding custom colors, custom icons and custom geomarkers with notations so your "away" team can specifically feed you data from the field on their status, observations and map markers to show when they have discovered food, water, resources, hostiles, contaminated zones and dangerous terrain (mines, military camp, etc.) plus edit the map geometry from their own device if they are authorized to do so. All this is just built-in, it just works, you run it and assuming you can reach your network somehow (implementation, "separation of concerns") you get all these features for your crew who have been approved by the administrator. The root user executive password is stored on the server in the configuration file and cannot be loaded by anybody without access to that machine drive at the keyboard locally. In every instance I have tried to add security but make it so simple it is idiot proof for the most part. Oauth is the single best way I have found to issue keys with variable control on when they expire and where they can be stored. All of my Oauth code on both server and browser would fit into three paragraphs counting the support tables in the database.

I know many people are second-guessing me with "what if GPS and all your cell towers are destroyed?" Don't worry, I have been thinking about this subject for twenty years. I will get to it. It is all just going to work. All you have to do is save your empty Pringle's cans and rustle up a little gear including solar panels. You may also need an $18 optical ethernet isolator to make sure EMP doesn't fry your network when they drop the bomb. This will be a future episode of Vault-Co dedicated to building a network that survives a nuclear war. Many of your newer and more advanced portable devices have access to GLONASS and other networks that are specifically designed to survive EMP from nuclear bursts and continue sending data even when the entire system has collapsed.


Ave said...

Tex, to you it's version 13.2 or whatever.

For me it's still version 0.0

Why don't you release an old version already ?

Luke said...

Good job Tex!