Hi Nick,
Thanks for your response. I'm glad you've figured out the actual problem.
As for the Authenticaion Mode and the "circular page reference" problem you
mentioned. Here is my suggestion:
I think the Form Authentication is a very convenient and flexible means of
authentication since it provide a simple implementation and custom account
checking(via custom database or other user list). The problem cause the
circular page is that the custom error page is authentication protected so
that unauthenticated user we be redirect to login page. I've also used the
FormAuthentication before , and use a common custom error page. My solution
is to set all those common pages such as "register page" , "about page" or
"custom error page", "custom success info page" 's permission as
<alow user="*"> , only set strict permission for certain part of
pages(which may have important infos)
Thus, the unauthenticated users(anonymous) can also visit those those
common page.
How do you think of this?
In addition, as for the other authentication mode you mentioned, I think
the basic or windows mode may appropriate for the intranet situation. As
for the internet based web application, those no OS dependant
authentication mode such as "Forms" or "Passport" maybe more proper. For
detailed discusion on the Authenticaion mode in ASP.NET , you may view the
following tech articles in MSDN:
#Building Secure ASP.NET Applications: Authentication, Authorization, and
Secure Communication
http://msdn.microsoft.com/library/en-us/dnnetsec/html/secnetlpMSDN.asp?frame
=true
Hope it is helpful.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)