Re: Forms Authentication

From: frpascal (FRPascal_at_newsgroups.nospam)
Date: 11/14/05

  • Next message: Dominick Baier [DevelopMentor]: "Re: Forms Authentication"
    Date: Mon, 14 Nov 2005 15:31:19 +0100
    
    

    Hi Dominick,

    The Input is Hidden and my users are kind office workers who just want to
    logon automaticaly, i just use the logon name for their planning and worked
    hours reports. No real security matter in fact.

    I don't want to implement windows auth because of the pop up window.

    Luke, I checked my servers and I don't find the cookies default setting, in
    fact i changed nothing since I installed the new server.
    Before now I already have the problem because my dev/test machine has
    migrated to WinXP, from that time this "capture" didn't work any more on the
    dev/test machine but worked properly on the W2000 server.
    I checked other Forms Auth messages and I found a message about fiddler. I
    tried to use it :
    On the first page about Cookies :
    - Cookie: ASP.NET_SessionId=a4ly5ymfrnp315555ytsak55
    - Set-Cookie:
    .ASPXAUTH=F3667128E001B12F31C9C0D130BC4600483EC7F09C2EBB653367A99BEDCDD2DF59
    DB46986051F28B7A153E24C4737AFD8EDC95EC49927907EC81225A41684F9DBDE3604E5CC3E1
    73; path=/
    On the destination page :
    - Cookie: ASP.NET_SessionId=a4ly5ymfrnp315555ytsak55;
    .ASPXAUTH=F3667128E001B12F31C9C0D130BC4600483EC7F09C2EBB653367A99BEDCDD2DF59
    DB46986051F28B7A153E24C4737AFD8EDC95EC49927907EC81225A41684F9DBDE3604E5CC3E1
    73

    I hope this can help you to help me ;)
    Thanks a lot !
    Pascal

    "Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com> a
    écrit dans le message de
    news:4580be63139d548c7b738fd576d14@news.microsoft.com...
    > Hello frpascal,
    >
    > so a use can be whoever he wants to when he manually changes the value
    (filled
    > by your javascript) before the POST to the server??
    >
    > That's not a good solution.
    >
    > Why don't you provide a separate directory for windows users - with
    windows
    > auth - then in AuthenticateRequest - construct a formsAuth ticket
    manually,
    > set the cookie and redirect to your main page?
    >
    >
    > ---------------------------------------
    > Dominick Baier - DevelopMentor
    > http://www.leastprivilege.com
    >
    > > Hi,
    > >
    > > For an Intranet, I try to capture the windows logon automaticaly to
    > > identify
    > > the user with a little javascript. I put this varaible in an Input
    > > object
    > > and use it with a
    > > "FormsAuthentication.RedirectFromLoginPage(LoginUserWindows.Value,
    > > False)"
    > > just before the Response.Redirect("\Planning\PagePrincipale.aspx").
    > > After that i recall the value with an "User.Identity.Name".
    > > The trace tells me that Auth-User and Remote-User values are correct
    > > but I can't get those values with the User.Identity.name after the
    > > redirection.
    > >
    > > It is working fine with W2000 but don't work anymore with Win XP
    > > neither Win 2003.
    > >
    > > Thanks for any help.
    > > Pascal
    >
    >


  • Next message: Dominick Baier [DevelopMentor]: "Re: Forms Authentication"

    Relevant Pages

    • Re: IIS 6 on SBS 2003 Standard Server
      ... I have a web site set up on a seperate server that is ... I have a redirect from my SBS 2003 Server to that. ... My HW firewall and Windows SB 2003 Firewall are set ...
      (microsoft.public.windows.server.sbs)
    • Re: Redirecting to the same webspace but different domain
      ... > uses cookies to allow users to login. ... Store the cookie data on the server with the token. ... Send a 301 Redirect HTTP response to the user along with a location ... Delete the auth details from the database ...
      (comp.infosystems.www.authoring.html)
    • Re: Cookies and MediaWiki
      ... I've a problem with cookies for MediaWiki. ... - Windows 2000 server machine as server. ... I've made a test with a PC with Windows XP professional as server (a ...
      (comp.lang.php)
    • Re: Setup Local Printing
      ... In the "Printers & Faxes" on both the Server and the Workstation the ... Windows 2003) it is only the local ports that get redirected. ... to redirect my network printer (which I thought Windows 2003 could ... Ron ...
      (microsoft.public.windows.terminal_services)
    • Re: Which browser tab?
      ... all of the windows of a browser session share the same ... the fatal merging of server-side state variable into the session cookies happened well after tabbed browsing. ... The only place that's really broken now is the way data sets are stored in the server. ...
      (comp.lang.javascript)

  • Quantcast