jitendrazaa.com
Creating Trigger on Attachment in Salesforce
Example and tutorial on creating the trigger for attachment in salesforce which will not allow to upload the file in opportunity if file contains some predefined text