Web Pages and security

  • Thread starter Thread starter Fabrizio
  • Start date Start date
F

Fabrizio

HI,
In my web application I have 2 webforms : login.aspx and
webform1.aspx
the login form redirect to the webform1.
I want to avoid that anybody, typing the address directly
with the webform1 page, may skip the authenthication form.
Which security policy ASP.NET allows to use?
Thanks,
Fabrizio
 
Fabrizio,

you can allways use the old ASP method of adding a session value that
indicates the user did a succesful login and check for its exsistance in the
second page.

Picho
 
Fabrizio said:
HI,
In my web application I have 2 webforms : login.aspx and
webform1.aspx
the login form redirect to the webform1.
I want to avoid that anybody, typing the address directly
with the webform1 page, may skip the authenthication form.
Which security policy ASP.NET allows to use?
Thanks,
Fabrizio

ASP.NET forms security (look it up on the web) allows you to do this
automatically.. If they try and hit the webform1 page they'll be redirected
to the login page.

Simon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top