Allow attaching files to credentials
Limit the size of attachments for performance reasons.