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 18:00 Last Update: 10-Mar-14 23:03