Connect middleware to guard your secrets