c# - Block direct access to HTML pages -


i have 1 website created in iis , root web-share has sub-folders stroring html files. however, user able access html files if know file path example : www.test.com\html\page1.html

is there way disable direct access ?

please note application hosted on iis 7.5 , .net application

if don't want end users access them, having them under wwwroot folder risk.

move whole structure of folder , files want "hide" out of root of website.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -