File uploader validations
Hi,
I need a validator for file upload functionality in my application developed using asp.net.
the validator should allow only doc,pdf files. Even if the user tries to enter malicious files
by changing the extension,the validator should not allow.
Please let me know how to detect renamed extensions in C#
Thanks in advance