Folder with files not accessible to the public


New member
Aug 6, 2021
Programming Experience
I have a file folder to upload pfd documents or images and show only to those who have logged in - so far ok.

My problem is how do I guarantee that this folder with the pdf and jpg files is not accessed by those who do not have authorization. Are there any specific folders for this on ASP.NET?

What I've been doing is putting this folder out of the site's root, but it's difficult to present a photo gallery, for example.

In this project we are working with asxp vb

Thank you in advance for your opinion
Top Bottom