1
Answer

File uploader validations

naveen k m

naveen k m

11y
883
1
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
Answers (1)