开发者

EXE upload prevention

开发者 https://www.devze.com 2023-01-06 02:29 出处:网络
I need to implement EXE file upload prevention in my project in the same way as it is implemented in gmail (even if EXE file is within a password protected zip file, gmail is able to detect it). What开

I need to implement EXE file upload prevention in my project in the same way as it is implemented in gmail (even if EXE file is within a password protected zip file, gmail is able to detect it). What开发者_如何转开发 approach should I follow?


You can browse the contents of a zip file even if it is password protected.

If the zip file is password protected all you can do is to check file extensions. If not protected, you can check contents for executables (exe, scr): http://support.microsoft.com/kb/65122

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号