S
Shishir Sasal8
Guest
Hi,
I have an MVC apllication where we are validating all the incomming(uploaded) files by checking their HEX Signature. For example
.pdf will contain an HEX signature [ 25 50 44 46 2d ] and if the incomming file contains the same signature then we allow it to be saved into our system. But for .csv there isnt any HEX signature so if any one saves an .exe as .csv file and upload i will not be able to validate it. So in this scenario how can i validate the csv file?
Continue reading...
I have an MVC apllication where we are validating all the incomming(uploaded) files by checking their HEX Signature. For example
.pdf will contain an HEX signature [ 25 50 44 46 2d ] and if the incomming file contains the same signature then we allow it to be saved into our system. But for .csv there isnt any HEX signature so if any one saves an .exe as .csv file and upload i will not be able to validate it. So in this scenario how can i validate the csv file?
Continue reading...