How about a working internal security system for starships and starbases that doesn't require sending a bunch of redshirts to get shot? What you do is you set up a system similar to the TR-116 with the microtransporter. A handful of automated TR-116 sentry guns placed behind bulkheads throughout the ship could effectively nuetralize intruders within moments.
Anyone beaming aboard the bridge during a Red Alert situation could be scanned, IDed, and shot or darted within milliseconds. Much better than watching Mr. Worf awkwardly grapple with the umpteenth Borg drone while everyone looks on helplessly.