The data could be stored encrypted on a VM and cycled off after {n} hours. With the right codecs and encryption, you could likely store a couple days of motion on a small amount of storage. If uploaded in chunks, you might miss a couple minutes prior to the unit being destroyed. I suppose protecting your internet uplink becomes important at this point.