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 / C++ / MFC
  4. how to create secure connection

how to create secure connection

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminquestionc++tutorial
4 Posts 3 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.
  • K Offline
    K Offline
    ku19832001
    wrote on last edited by
    #1

    Hi all i have a client/server application(infact server is a service and client is a MFC gui) now i have a situation where i need to transfer username and password over the network to the server from the gui.........but sending it in plain text is harmful....so my question is how do i start a secure connection to the server n send the information to it n then close the secure connection thanks kunal

    W S 2 Replies Last reply
    0
    • K ku19832001

      Hi all i have a client/server application(infact server is a service and client is a MFC gui) now i have a situation where i need to transfer username and password over the network to the server from the gui.........but sending it in plain text is harmful....so my question is how do i start a secure connection to the server n send the information to it n then close the secure connection thanks kunal

      W Offline
      W Offline
      With_problem
      wrote on last edited by
      #2

      void CWDlg::OnBConnect() { // TODO: Add your control notification handler code here strcpy(sessionid ,m_aapi.Login("usid","pssword"); }

      K 1 Reply Last reply
      0
      • W With_problem

        void CWDlg::OnBConnect() { // TODO: Add your control notification handler code here strcpy(sessionid ,m_aapi.Login("usid","pssword"); }

        K Offline
        K Offline
        ku19832001
        wrote on last edited by
        #3

        hi can u elobarate on wat u r trying to say...i didnt get it.....wat is sessionid...a char array??? Also i know how to get username n password information...i want to know how to send it over the network in a secure way....copying to a array n sending it in plain text is harmful.....so please suggest me a way to send it over the network in secure way thanks kunal

        1 Reply Last reply
        0
        • K ku19832001

          Hi all i have a client/server application(infact server is a service and client is a MFC gui) now i have a situation where i need to transfer username and password over the network to the server from the gui.........but sending it in plain text is harmful....so my question is how do i start a secure connection to the server n send the information to it n then close the secure connection thanks kunal

          S Offline
          S Offline
          sunit5
          wrote on last edited by
          #4

          use SSL http://www.codeproject.com/internet/sslsocket.asp -- modified at 1:51 Monday 31st July, 2006

          never say die

          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