Client Gallery Security Best Practices