vb.net - Block the user from viewing files in the directory via the url -
i'm pretty new in developing vb.net. have web application , want block access files in directory.
for example:
if user access following page: application.com/example/page.aspx
if user remove page name , type "application.com/example/", see files inside folder "example".
i want block possibility and, when user try access files, redirect error page.
i know how solve in php through htaccess, have never done vb.net. help?
if using iis go sites-->desired site
from features views select directory browsing disabled.
Comments
Post a Comment