I need to restrict users from attaching files with some extensions for e.g.: bat,exe,bin etc..
For this i believe i will need to write a servlet filter . I am new to servlets ,can someone please guide me how i can achieve this ?
Is using Servlet filter a correct approach ?
Any help highly appreciated. Please let me know if any other information is needed from me.