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. Security

Security

Scheduled Pinned Locked Moved ASP.NET
sysadminhelpjavascriptdatabasesecurity
4 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi I currently have a web application that presents a user with a username and password box (text boxes) - once the user registers their password is encrypted and stored in a database. My question is this - the password is sent from their machine to the server in plain text. Is there a simple way of encrypting the form without using javascript to make it more difficult for their password to be seen across the internet/network Also are there basic security issues i should look into or does any one have any resources/links that will help me make a secure site. Thanks and sorry for the general nature of the problem Dan.

    E R 2 Replies Last reply
    0
    • L Lost User

      Hi I currently have a web application that presents a user with a username and password box (text boxes) - once the user registers their password is encrypted and stored in a database. My question is this - the password is sent from their machine to the server in plain text. Is there a simple way of encrypting the form without using javascript to make it more difficult for their password to be seen across the internet/network Also are there basic security issues i should look into or does any one have any resources/links that will help me make a secure site. Thanks and sorry for the general nature of the problem Dan.

      E Offline
      E Offline
      ednrgc
      wrote on last edited by
      #2

      try SSL?

      1 Reply Last reply
      0
      • L Lost User

        Hi I currently have a web application that presents a user with a username and password box (text boxes) - once the user registers their password is encrypted and stored in a database. My question is this - the password is sent from their machine to the server in plain text. Is there a simple way of encrypting the form without using javascript to make it more difficult for their password to be seen across the internet/network Also are there basic security issues i should look into or does any one have any resources/links that will help me make a secure site. Thanks and sorry for the general nature of the problem Dan.

        R Offline
        R Offline
        Ramasubramaniam
        wrote on last edited by
        #3

        There are methods to encrypt strings in .Net. Use the following article as base, http://support.microsoft.com/kb/301070 Ram

        J 1 Reply Last reply
        0
        • R Ramasubramaniam

          There are methods to encrypt strings in .Net. Use the following article as base, http://support.microsoft.com/kb/301070 Ram

          J Offline
          J Offline
          Jim Franz
          wrote on last edited by
          #4

          Try using MD5 as the encryption on the client side. You can change the password using the javascript code at http://pajhome.org.uk/crypt/md5/">http://pajhome.org.uk/crypt/md5. The tricky part is to use a unique "salt" value that is created when the page is created and used as part of the submit process. The stored password is encrypted with the same salt value on the server side and the value is compared with the calculated value from the client. I have used a date stamp like yymmddHHmmssfff or something like that to calc the salt value. Hope this helps.

          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