开发者

How to prevent Malicious File Execution in ASP.NET

开发者 https://www.devze.com 2023-03-13 17:24 出处:网络
I currently have a asp.net site that allows users to upload files and subsequently view them using HTTP. Is there a simple way to prevent a user from uploading a mali开发者_运维技巧cious script/file o

I currently have a asp.net site that allows users to upload files and subsequently view them using HTTP. Is there a simple way to prevent a user from uploading a mali开发者_运维技巧cious script/file onto my server then attempting to run that script by calling its directory via http?


You have to remove the ASP script mapping on that particular folder.

Read the complete answer by Steve Schofield here.

0

精彩评论

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