Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6847677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:46:26+00:00 2026-05-27T00:46:26+00:00

To improve the security for my users I wish to hide all user-passwords in

  • 0

To improve the security for my users I wish to hide all user-passwords in my MSSQL database.
The webapplication is in ASP Classic and the SQL-field is a varchar(max).

I have heard about hashing the codes, but how does this work?
Is it something to be done in the SQL string or making an ASP function?

My current users tabel setup are:

id    username    password
1     jersey      plaintextpassword
2     timber      plaintextpassword
....
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:46:27+00:00Added an answer on May 27, 2026 at 12:46 am

    i prefer to store user password as with md5

    save passwords after md5sum
    when user trying to login

    user variables from form

    var_username = jersey
    var_password = 123456
    
    // dont forget to escape for sql injection
    // generate md5sum for password
    var_md5password = md5(password)
    
    SELECT * FROM users WHERE username = 'var_username' AND password = 'var_md5password'
    

    for example

    |- id -|- username -|- password -|
    |-  1 -|- jersey   -|- 123456   -|
    |-  2 -|- timber   -|- 1234567  -|
    

    table with md5

    |- id -|- username -|-             password             -|
    |-  1 -|- jersey   -|- e10adc3949ba59abbe56e057f20f883e -|
    |-  2 -|- timber   -|- fcea920f7412b5da7be0cf42b8c93759 -|
    

    more secure way

     secret_key = topsecretkey
     password: 123456
     md5(password+secretkey)
     it will generate a better md5
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to improve the performance of a website written in classic ASP. It
I have a boolean variable value stored in an SQL Server database. This is
I'm a PHP developer and I'm looking to improve the security of my sites.
I'm creating a MySQL database with registered users, and I'm thinking to use md5
I've read up on SQL Injection, XSS and other security issues and am trying
I currently use SHA512 with per user random salt to hash user passwords and
I am using Rhino.Security repository to manage my users/roles. The process of creation, deletion
(and if not, does it actually improve client side security?) I'm thinking of the
I saw some guy who encrypt users password multiple times with MD5 to improve
I would like to improve security on a current application regarding session management and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.