File Type Restrictions

Hi All,
I need file type restriction for attachments (like its only allow jpg,zip,png)pls guide me anyone

Thanks,
Jecintha