Re: form based authentication and free pages
From: Ben Amada (ben@powerpick.com)
Date: 09/27/02
- Next message: news.microsoft.com: "RadioButton in a DataGrid"
- Previous message: Ben Amada: "Re: form based authentication and free pages"
- In reply to: YA: "Re: form based authentication and free pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Ben Amada" <ben@powerpick.com> Date: Thu, 26 Sep 2002 15:31:46 -0700
"YA" <ra294@hotmail.com> wrote:
> Thanks, your example helped me.
> When the user does not have access to a folder it goes back (as it should
> be) to the login page. On what condition I show the user "not allowed"
label
> in the login page ?
>
> Thanks
>
> ra294
I'm not sure what you mean. Any user who is not authenticated will be
automatically redirected to login.aspx -- that is if they try to access a
web page in a protected folder they will be automatically redirected to
login.aspx.
A typical login.aspx page would have a textbox for the user to enter his/her
name, a textbox to enter their password, and a button to click after they
enter their name and password. Once they click the button, if you don't
want to authenticate them possibly because their name is not in some list of
ok-to-authenticate users, etc., then you of course don't have to
authenticate them. At that point, you can display a message that says
something like "you are an unknown person -- authorization denied".
Hope this explanation is what you were looking for!
Regards,
Ben
- Next message: news.microsoft.com: "RadioButton in a DataGrid"
- Previous message: Ben Amada: "Re: form based authentication and free pages"
- In reply to: YA: "Re: form based authentication and free pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]