Hi, I have a site and I put an upload button their and the first file I
received was an .exe file.
Is there some way to protect from that sort of thing? I read about
using the Linux utility "file" to determine the file type but I don't
know how to do that nor whether you can embedd that in a PHP script. If
anyone has a good solution please let me know.
Thank you!
received was an .exe file.
Is there some way to protect from that sort of thing? I read about
using the Linux utility "file" to determine the file type but I don't
know how to do that nor whether you can embedd that in a PHP script. If
anyone has a good solution please let me know.
Thank you!
Comment