Ask a Question related to ASP.NET Security, Design and Development.
-
M2Web #1
Form based authentication question
I understand that in the web.config file I can have the following:
<location path="MembersOnly">
<system.web>
<authorization>
<allow users="myaccount" />
<deny users="*" />
</authorization>
</system.web>
</location>
My question is, how is the user name myaccount checked against the
web.config file? Is it done with the
FormsAuthentication.RedirectFromLoginPage Method? For example,
FormsAuthentication.RedirectFromLoginPage("myaccou nt", false)
Thanks
M2Web Guest
-
Newbee question; form authentication
Hello all, I have a problem with retrieving roles. In the login form, I do the following things; - Retrieve roles (string, format like... -
Access shared drive using FORM based authentication
Hi All, I am using FORM BASED authentication for my web based application. It's running under ASPNET account on win2k server and NetworkService... -
Populate form values based on previous same form fields
This message is cross posted in alt.comp.lang.php & comp.lang.javascript I have a form for a user to input an establishment's hours and what time... -
Beginners question: Form based authentication
Hello, the following question may be trivial, but after scrolling documentations on my screen for hours I'd absolutely appreciate your help: I... -
authenticate win32 form client with form based authentication web services
(Type your message here) -------------------------------- From: kitchai yong Hi, Can you tell me how i authenticate the win32 form client... -
Colin Turner #2
Re: Form based authentication question
Have done mine through a custom component talking to SQL Server database
table containing usernames and encrypted passwords.
If you're using the config file, I think you use the
FormAuthentication.Authenticate method. The RedirectFromLoginPage method
writes out the forms authentication cookie containing your username and
redirects you to the page you originally wanted to navigate to.
Regards
Colin
"M2Web" <admin@msquaredweb.com> wrote in message
news:944319dc.0307090508.6db46430@posting.google.c om...> I understand that in the web.config file I can have the following:
> <location path="MembersOnly">
> <system.web>
> <authorization>
> <allow users="myaccount" />
> <deny users="*" />
> </authorization>
> </system.web>
> </location>
> My question is, how is the user name myaccount checked against the
> web.config file? Is it done with the
> FormsAuthentication.RedirectFromLoginPage Method? For example,
> FormsAuthentication.RedirectFromLoginPage("myaccou nt", false)
>
> Thanks
Colin Turner Guest



Reply With Quote

