We've been using the Internet (and especially GPS) for our national defense for a long time now.
Both were initially deployed for military use long before the general public could use them.