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. user authentication using c#.net (for a web base system)

user authentication using c#.net (for a web base system)

Scheduled Pinned Locked Moved ASP.NET
csharpquestionsysadminsecurity
6 Posts 4 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.
  • S Offline
    S Offline
    sacr83
    wrote on last edited by
    #1

    This is my Login Page URL http://localhost:3271/NocSystem/LoginPage.aspx This is my Admin(Home)Page URL http://localhost:3271/NocSystem/AdminPage.aspx If i copy & paste the home pages URL with another Browser it is loading.I want to avoid that.Because if one of user got that URL he can easily access to my web base system through my web server.I'm developing this system to run @ my office's web server. If one of user copy and paste that URL i wanna redirect to my Login Page.How can i do that...?

    CheeN

    S S E 3 Replies Last reply
    0
    • S sacr83

      This is my Login Page URL http://localhost:3271/NocSystem/LoginPage.aspx This is my Admin(Home)Page URL http://localhost:3271/NocSystem/AdminPage.aspx If i copy & paste the home pages URL with another Browser it is loading.I want to avoid that.Because if one of user got that URL he can easily access to my web base system through my web server.I'm developing this system to run @ my office's web server. If one of user copy and paste that URL i wanna redirect to my Login Page.How can i do that...?

      CheeN

      S Offline
      S Offline
      Sherin Iranimose
      wrote on last edited by
      #2

      1)Add a session in the login page. 2)Check for the session in all other pages. If session not available redirect to login page. 3)Remove the session at logout.

      **$**herin Iranimose

      S 1 Reply Last reply
      0
      • S sacr83

        This is my Login Page URL http://localhost:3271/NocSystem/LoginPage.aspx This is my Admin(Home)Page URL http://localhost:3271/NocSystem/AdminPage.aspx If i copy & paste the home pages URL with another Browser it is loading.I want to avoid that.Because if one of user got that URL he can easily access to my web base system through my web server.I'm developing this system to run @ my office's web server. If one of user copy and paste that URL i wanna redirect to my Login Page.How can i do that...?

        CheeN

        S Offline
        S Offline
        SathyaSiva
        wrote on last edited by
        #3

        Use Authendication

        Sathya

        1 Reply Last reply
        0
        • S sacr83

          This is my Login Page URL http://localhost:3271/NocSystem/LoginPage.aspx This is my Admin(Home)Page URL http://localhost:3271/NocSystem/AdminPage.aspx If i copy & paste the home pages URL with another Browser it is loading.I want to avoid that.Because if one of user got that URL he can easily access to my web base system through my web server.I'm developing this system to run @ my office's web server. If one of user copy and paste that URL i wanna redirect to my Login Page.How can i do that...?

          CheeN

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          have you checked out the custom asp.net login control, you can do the sort of thing you are asking for with that i think

          We are not a Code Charity

          1 Reply Last reply
          0
          • S Sherin Iranimose

            1)Add a session in the login page. 2)Check for the session in all other pages. If session not available redirect to login page. 3)Remove the session at logout.

            **$**herin Iranimose

            S Offline
            S Offline
            sacr83
            wrote on last edited by
            #5

            Thankx $herin...REally thankx... :) i got it....wow....wwww

            CheeN

            S 1 Reply Last reply
            0
            • S sacr83

              Thankx $herin...REally thankx... :) i got it....wow....wwww

              CheeN

              S Offline
              S Offline
              Sherin Iranimose
              wrote on last edited by
              #6

              :-D

              **$**herin Iranimose

              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