且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何限制用户从ASP .NET中的文件夹访问图像文件

更新时间:2023-12-01 23:38:22

将所有图像文件放在文件夹中>> App_Data

并将图像文件作为编码的base64数据源返回到html页面。
Place all the image files in the folder >> App_Data
and return the image file as encoded base64 data source in the html page.