I am able to secure the .vbhtml pages using WebSecurity and _PageStart.vbhtml; however, this does not protect other files in the folder, such as .pdf files, etc. How do I secure other folder items?
Yes, I am using web forms, not MVC.
Then you need to use Generic Handler to secure your files.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=270
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.