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. General Programming
  3. C#
  4. custom authentication

custom authentication

Scheduled Pinned Locked Moved C#
sysadminsecurityquestion
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.
  • B Offline
    B Offline
    balkang
    wrote on last edited by
    #1

    hello, I want to use custom authentication in my web service project. I use asymetric cryptography for loging on the clients. if its OK. I use symmetric cryptography. In brief like that: 1.clients requests the public key of asymetric cryptography from server. 2.server generates and returns it to the client. 3.client encrypts its username, password and the symmetric cryptography's public key and IV and sends them to the server. 4.Server decrypts and authenticates the username and password. if its OK, generates a GUID ticket and encrytp the ticket using the clients public key and IV and sends it to the client. 5.When client calls a webmethod, it send the encrypted ticket and server authenticates the ticket. I have doupts about the safety of this system. Can any other person access to the ticket and call a webmethod by using this ticket. What should ı do more?

    L 1 Reply Last reply
    0
    • B balkang

      hello, I want to use custom authentication in my web service project. I use asymetric cryptography for loging on the clients. if its OK. I use symmetric cryptography. In brief like that: 1.clients requests the public key of asymetric cryptography from server. 2.server generates and returns it to the client. 3.client encrypts its username, password and the symmetric cryptography's public key and IV and sends them to the server. 4.Server decrypts and authenticates the username and password. if its OK, generates a GUID ticket and encrytp the ticket using the clients public key and IV and sends it to the client. 5.When client calls a webmethod, it send the encrypted ticket and server authenticates the ticket. I have doupts about the safety of this system. Can any other person access to the ticket and call a webmethod by using this ticket. What should ı do more?

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      cezeri wrote: I have doupts about the safety of this system. Why? It sounds 'safe' to me. top secret
      Download xacc-ide 0.0.6 now!
      See some screenshots

      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