help!! credentials stored in web.config vs in database
- From: "Gamze" <Gamze@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 18 Apr 2005 02:49:05 -0700
Hi,
I have difficulties about authentication & authorization thing.
My project has an admin folder (which can only be accessed by administrator)
and a secret folder - (can be accessed by registered users).
Is it possible to store credentials in two different places and using only
one login page? (the administrator credentials in web.config file while the
registered users credentials are stored in the database).
So far, what I got working was either choose one of them: in web.config or
in the database.
I am confused how and where (which web.config, root or particular folder) to
put the authentication and authorization codes.
If it is not possible, I was thinking of having 2 login page. For registered
users and for admin. But, the problem is: it always direct me to login.aspx.
How can I direct them to adminLogin.aspx when someone try to access a file in
the admin folder?
Thanks so much...
.
- Follow-Ups:
- Prev by Date: .net dll call from native c++
- Next by Date: Output parameters with VB .Net
- Previous by thread: .net dll call from native c++
- Next by thread: Re: help!! credentials stored in web.config vs in database
- Index(es):
Relevant Pages
|