Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Login again Window account

Login again Window account

Scheduled Pinned Locked Moved ASP.NET
csharpsecurityhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    caheo
    wrote on last edited by
    #1

    I'm new to dotnet security I'm trying to develop a login form agains Window Integration. I don't want to have a pop up window; therefore I create my own login form and redirect users to that page before they can go anywhere else. After user enters username and password, I want to check these username and password to see if they are valid. If yes, they can proceed, otherwise they have to reenter Thanks for help.

    C 1 Reply Last reply
    0
    • C caheo

      I'm new to dotnet security I'm trying to develop a login form agains Window Integration. I don't want to have a pop up window; therefore I create my own login form and redirect users to that page before they can go anywhere else. After user enters username and password, I want to check these username and password to see if they are valid. If yes, they can proceed, otherwise they have to reenter Thanks for help.

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      IIRC Windows Integrated Security is run against the current user of the browser, if their credentials don't match those at the server then a login dialog is automatically opened by IE where the user can log in. You can't re-direct this to a form as Windows is handeling it all. If it did allow redirection to a form then you as a developer could potentially syphon off peoples user names and passwords - this is not good. If you want to use a form for log-in users into your system then you will have to maintatin the security credentials (say, in a database) that can verify the user name and passwords.


      "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups