I have a component developed in C# ( chain of responsibility pattern) which validates the file types based on the extension and signature mismatch.
It is good to go with the files like doc,docx,xls,xlsx. But for the scenario where an object(say another word,xlsx) is embedded in the file to be uploaded how to extract and validate that file.
This component also validates a zip file by extracting it to a path and doing the checks for all,one by one.
Any pointers for how to do this for an embedded object as I couldn’t find any blog also.
Thanks in Advance
Last Visit: 31-Dec-99 19:00 Last Update: 28-Mar-15 21:44