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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -