Ask a Question related to ASP.NET Security, Design and Development.
-
Richard #1
Stop User Credentials Dialogue
Hi All,
I have a web app on our intranet, and when an employee goes to the main
page, it authenticates via Windows Authentication when the user fills in the
user credentials dialog popup. I grab their name from wp.Identity.Name
(WindowsPrincipal), and look the user up in a SQL Server database table. So
far, so good.
They make it to the main page, but virtually every other page they navigate
to the user credentials dialog pops up again. All they do is click
linkbuttons that navigate to another page using
Response.Redirect("Page2.aspx", False). Even if they fill in the dialog
correctly, it keeps prompting them up to 3 times, then errors out (no
discernible error message).
However, when I log in as myself using their computer, I have no problems
using the app. The app initially prompts me like them with the user
credentials dialog, but once I fill it out it doesn't pop up again. So, why
would it keep prompting them?
If it helps, here are the authentication/authorization settings in the
web.config file:
<authentication mode="Windows"/>
<identity impersonate="true"/>
<authorization>
<deny users="?" />
</authorization>
Thank you for any help you can provide.
Richard
Richard Guest
-
Web Application User Credentials
We are in the early planning stage of a new web (ASP.NET) application, are currently determining the best strategy for managing users in this... -
Passing user credentials from ASP.NET to Web Service
We have an ASP.NET application which needs to call Web Service on another machine using end user's account. The configuration is as follows: *... -
User Credentials problem with WebService that uses FileIO....Help!!??
I am having some serious problems with a WebService that I created that drops a file to a local directory. I have the WebService pointed outside so... -
how do i stop one user accessing certain files in XP
Both me and my brother use my computer and i have set him up a limited user account on the computer but he still has access to all the files on the... -
NSNumberFormatter doesn't stop a user entering letters?
Hi, I have a NSPanel with a NSForm which has some NSNumberFormatters attached to it's NSFormCells. It seems that the NSNumberFormatter doesn't... -
Richard #2
RE: Stop User Credentials Dialogue
I believe I solved my own problem. I commented out '<identity
impersonate="true"/>' in web.config and it seems to be working fine. Hope
this was it for sure!
"Richard" wrote:
> Hi All,
>
> I have a web app on our intranet, and when an employee goes to the main
> page, it authenticates via Windows Authentication when the user fills in the
> user credentials dialog popup. I grab their name from wp.Identity.Name
> (WindowsPrincipal), and look the user up in a SQL Server database table. So
> far, so good.
>
> They make it to the main page, but virtually every other page they navigate
> to the user credentials dialog pops up again. All they do is click
> linkbuttons that navigate to another page using
> Response.Redirect("Page2.aspx", False). Even if they fill in the dialog
> correctly, it keeps prompting them up to 3 times, then errors out (no
> discernible error message).
>
> However, when I log in as myself using their computer, I have no problems
> using the app. The app initially prompts me like them with the user
> credentials dialog, but once I fill it out it doesn't pop up again. So, why
> would it keep prompting them?
>
> If it helps, here are the authentication/authorization settings in the
> web.config file:
> <authentication mode="Windows"/>
> <identity impersonate="true"/>
> <authorization>
> <deny users="?" />
> </authorization>
>
> Thank you for any help you can provide.
> Richard
>Richard Guest



Reply With Quote

