Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

how set a method, before open a directory?

$
0
0

hi

how set a method, before open a directory?

- using asp.net web form

- without membership (user,role)

example :

/admin_page or /admin_page/content or /admin_page/options

before show Default.aspx (or All directory and file) , run Access Method

if (Access)

show path

else

redirect to "~/"

without use :

<authorization>    <allow roles="Administrators" />    <deny users="*"/>    </authorization>    


Viewing all articles
Browse latest Browse all 4737

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>