简体   繁体   中英

How to extract C#/PHP/Code/SQL from string in ASP.net C#

Let suppose there is file-upload control which allow user to upload text file how can we read or extract that user has not upload any malicious code in that text file..

If you are not executing these files, the only thing you may need is excluding html tags How can I strip HTML tags from a string in ASP.NET?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM