8.2.2012. 7:38:52
15993
Reputacija
2214
Ukupno objava
Hi,
best approach to do that is to put custom authorization in the web.config e.g.
<
system.web
>
...
<
authorization
>
<
deny
users
=
"?"
/>
<
allow
users
=
"*"
/>
</
authorization
>
....
</
system.web
>
and then expose the pages you want by doing this
<
configuration
>
...
<
location
path
=
"Default.aspx"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"*"
/>
</
authorization
>
</
system.web
>
</
location
>
//Put other pages here
...
</
configuration
>
You can read more about this here "
Authorization for a Web application".
Regards
Povijest ocjena (Sadržaj je ocijenjen sa 0,00 od ukupno 0 glas(ova).)
Prikaz osoba koje su ocjenile ovaj sadržaj i dodjeljenih ocjena.