Monday, March 26, 2012

Windows Authentication in Two ASP.NET web page.

In my web application, the website uses windows authentication to respond
every access. So someone shoud type use name & password before log in my web
site. But there is a web page used in testing DB connction. This web page
should test connection successfully with speciafied user name & passord.
Moreover, End user don't know to test db connection to use other user name &
password at all. So is there any way to implement it and End user don't need
how to work background?
Any help would be appreciated.
thanks.
--
Developer
QA Dashboard
Microsoft China Development CentreI'm not 100% sure I followed you but are you talking about simply having tha
t
page run under a different user context? If so, what you are after is called
Impersonation. It's an entry in the web.config...
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
"Microlong?" wrote:

> In my web application, the website uses windows authentication to respond
> every access. So someone shoud type use name & password before log in my w
eb
> site. But there is a web page used in testing DB connction. This web page
> should test connection successfully with speciafied user name & passord.
> Moreover, End user don't know to test db connection to use other user name
&
> password at all. So is there any way to implement it and End user don't ne
ed
> how to work background?
> Any help would be appreciated.
> thanks.
> --
> Developer
> QA Dashboard
> Microsoft China Development Centre

0 comments:

Post a Comment