I have a problem with file uploading
I have a upload files content type where user upload image,doc,pdf files.
I know that it doesn't allow .exe file if file extension are .exe.
The problem is that when i rename .exe file extension as .jpg .
It is not showing any error simply it is uplopading the file.
It is a big security issue of my site.
How to check within file and send error message not to upload such files.