Authentication problem



Hi All,

I am writing an ASP.NET site that needs to know the user's details. Not
such a problem when the user is logged in as I can use Windows
Authentication to get their username. The problem comes because this
app can be run _before_ they login to windows, meaning that they have
no Windows credentials being passed. In this case a default user
account should be used just to give them access (albeit non-validated).

I was hoping to be able to create a separate page for this situation.
This page would allow anonymous authentication, and all it would do is
create a default set of credentials before redirecting to the actual
site.

I initially thought that turning anonymous authentication on in IIS
would still pass credentials if you were logged in but this doesn't
seem to be the case (if you know this to be incorrect, please tell me
as I could be setting it up wrong).

Is there a way in .NET to set the user credentials before redirecting
to another page in the same project?

Many Thanks,
Nick

.



Relevant Pages

  • RE: synchronizing domain user Local cached credentials with domain
    ... Would you mind emailing me your script? ... windows taskbar bubble which would indicate that their password needs to be ... locally cached credentials are out of sync with domain credentials. ...
    (microsoft.public.windowsxp.security_admin)
  • Cached Password Issue???
    ... cannot browse the server. ... shares if I supply the same credentials however. ... Windows cannot query for the list of Group Policy ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem with control hosted in IE
    ... The control is running on the client machine, so the default credentials are ... These will be the Windows logon from the ... > I logon to another machine using a local account (not one that the IIS ...
    (microsoft.public.dotnet.security)
  • WindowsTokenRoleProvider Anyone?
    ... Hey All, I'm attempting to put together a "secure" ASP.NET 2.0 application with one requirement that has given me a bit of grief: In a nutshell, if the user's session expires then they should be forced to re-authenticate with the application by providing logon credentials. ... the easy way to implement security with domain users is to use the Windows Authentication model built in to ASP.NET. ... to have the programmatic control over the authentication mechanism seems to leave only one choice in this scenario: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Network isolation: local logins ?
    ... Regarding the local user accounts, in Windows XP and Windows 2003, if the ... secured/isolation network using its configured IPsec-based authentication ... The credentials of the user are not evaluated when determining ... IP extends the core IKE functionality of machine authentication to also ...
    (microsoft.public.windows.server.networking)

Quantcast