Ring middleware to facilitate audit requirements.