- I understand that the attachments are managed through the DocuRef and DocuValue tables. Hooking into events here will at least give us the file details and will work even if the attachment was made by a user or otherwise, but it won't prevent the file upload to Azure. Edit: Forgot to mention that this option will not get me to the file itself without letting it upload and download it again.
- Customizing the DocumentUpload form, either by replacing the upload with another File Upload Control, or somehow manipulate what's happening here. But this won't help with attachments created by other systems.
- An automatic job that goes through all the attachments and moves them periodically