Most voted "passwords" questions
Passwords are used primarily as a means of limiting access to information and as a means of limiting users' access to a machine. Typically, they are used in conjunction with a user name in the authorization system.
Learn more…48 questions
Sort by count of
-
384
votes9
answers31327
viewsHow to hash passwords safely?
If I do the hash of passwords before storing them in my database is enough to prevent them from being retrieved by someone? I’m just talking about the recovery directly from the database and not any…
-
106
votes6
answers32253
viewsWhat is the best way to create a PHP login system
I’m making a small system, and to access it, the user enters the login and password. What is the best way - safe and simple- to do the login and password system?
-
46
votes3
answers1348
viewsShould systems force the user to create a strong password?
I’ve been wondering why some systems require such strong passwords. Example: Minimum of 8 Characters Uppercase and Minuscule Numbers Special Characters In many places they say that strong passwords…
-
43
votes4
answers53481
viewsHow to decrypt MD5?
If I have the following code $senha = md5("senha") and send it to the database $senha, it should be possible to recover this MD5 at the bank and show "password" back on an information update form,…
-
35
votes3
answers1996
viewsWhat do I need to do to measure password strength?
Often we need to accept the input of passwords by users. In general we cannot accept any password that can be easily attacked, probably by Brut force (gross force) or similar techniques. It is…
-
31
votes5
answers3608
viewsCan the browser "remember" a password programmatically?
I am developing an application where from a password provided by the user a pair of keys (authentication and encryption) is derived. The password itself is never sent to the server, only the…
-
18
votes5
answers3306
viewsForm submission security in HTTP header
After some tests on the site of Yahoo and Facebook I realized that after filling in my username and password and clicking on Login, with the developer tools opened in the option Network (Chrome or…
-
12
votes2
answers1508
viewsChoice of hash generation method in PHP
My doubt started when I decided to re-examine the method I was using to get the user’s password and store it in the database. After reading that one, that one and that one questions here on the…
-
11
votes1
answer165
viewsLike, when and why use "Securestring" in C#?
I once heard about the class SecureString from C# and it seemed interesting to me, so I think it’s interesting content that can yield good answers from more experienced professionals. Some questions…
-
9
votes1
answer690
viewsWhy is it better to use char[] than String for passwords?
Using Swing, the method getPassword() of JPasswordField returns a character array char[] instead of returning a String like the getText() (which by the way is discontinued). I should not use String…
-
8
votes1
answer350
viewsHow to use Salts and hashs with PHP?
Following people, I have to make a system of registration and login of users, but wanted to increase the security of this system using Salts in passwords, someone could show me a simple example…
-
7
votes1
answer146
viewsIs there a specific type for passwords other than String in . Net?
I see very commonly the use of strings to store passwords in the program memory, not only on . Net, but in all the programming languages I’ve used. At first, I don’t see a problem in it. But as I…
-
7
votes1
answer478
viewsWhat is the security in using input "password" or "text"?
Recently we are on a wave to use the combination of input of passwords with the option to hide/display the password (*** -> abc), with the "eye" technique. I understand this purpose as it greatly…
-
5
votes2
answers1238
viewsWhat’s the difference between using password_default and password_bcrypt?
Searching on hash, I noticed that the second function parameter password_hash, has two options, PASSWORD_DEFAULT and PASSWORD_BCRYPT, Exactly which of the two I should give preference to use? It’s…
-
5
votes1
answer51
viewsHow to store the password in the R script in the package 'Encryptr'?
I did it: library(encryptr) genkeys() And I created the password: 0)]30l^8 password<-"0)]30l^8" data(gp) write.csv(gp, "gp.csv") encrypt_file("gp.csv") My problem: How to automatically enter the…
-
4
votes1
answer241
viewsShould I ask for the user’s password twice at the time of registration?
In the registration forms, it is common to see the "Enter your password again" field, as a confirmation to make sure that the user has not missed the password entered. Thinking about the user…
-
3
votes2
answers2877
viewsHow to apply password_hash for SELECT, INSERT and UPDATE?
I know the password_hash works like this: string password_hash ( string $password , integer $algo [, array $options ] ) 1 - But I wonder how I can apply password_hash in such cases: $check =…
-
3
votes1
answer616
viewsPassword security: Should I use Mysqli -> real_escape_string or bind_param?
Mysqli => real_escape_string I want the password storage to be as safe as possible, at the moment I am using only mysqli => real_escape_string: $password = $_POST['password']; $password_safe =…
-
3
votes1
answer137
viewsEncoding and decoding passwords with character rotation
I have a database with a password field, which has a sort of "encryption". Analyzing the logic: I created users in the system and put the password: 123. When I went to check the password in the bank…
-
3
votes4
answers1739
viewsExpire php link
I wonder how I do to expire a link after a use. We have a password recovery system that sends an email to recovery that is working perfectly. In this case, if the link is not opened in 30 minutes,…
-
3
votes4
answers183
viewsCompare if password is correct
How to create a simple Javascript that only asks the user to enter the password 1234 to appear the message password released, if it misses 3 times appear blocked account. My code so far: var senha;…
-
3
votes1
answer140
viewsUsing Hash, without adding a Salt string to the password, can make the password vulnerable?
A little while ago I needed to figure out which hash had been used to save passwords in the bank so that they were not directly saved according to what the user launches at the time of their…
-
3
votes1
answer123
viewsWhy can’t I hash the password in my Seed method?
I’m trying to use my method seed below to create a user in the database when it is created: protected override void Seed(CodingCraftMod1Ex4AuthMembershipContext context) { string password =…
-
2
votes2
answers548
viewsIs there anything that works like a "Firebug" for Android?
I need to recover my Whatsapp password to use Whatsapi. I’ve tried everything that was offered by her (Missvenom, WART, Reverse Engineering [ I couldn’t ], register through API [ itself also without…
-
2
votes1
answer278
viewsPassword encryption problem (PHP)
I’m making a Pet Shop system and the problem is this: the customer makes the registration, and the password will be encrypted to the bank, but when the login is made it is an error. Example: the…
-
2
votes3
answers6138
viewsMount Regex to validate password
someone would know to set up a regex to validate numerical and alphabetic sequences of at least 4 digits, like : 1111/1234/abcd/4321/dcba?
-
2
votes0
answers40
viewsHow do I make the browser remember two different passwords (two distinct Forms) for the same website (domain)?
I have in a web application that, in a conventional way, asks a user and password to login to the system. This user and password are encapsulated in a form (simplified example): <form…
-
2
votes2
answers1102
viewsEnter a password in the VBA Project via module or Sendkeys
Hello, I have a spreadsheet matrix that will enter in other thousands of smaller spreadsheets, will save in another extension, will put a code inside this and wanted it to block the vba project of…
-
1
votes2
answers477
viewsView Ocutar Password using Editorfor
I’m using Labelfor, I wanted when clicking above to enter the password, displayed the characters, and when clicking outside was hidden, how could I do? <div class="form-group">…
-
1
votes2
answers4035
viewsGenerate Postgresql Server backup with password via command line
I need to perform an automatic Backup of a Postgresql server, I have a command that makes this backup but it always asks me the password and I could not find a command where I can already determine…
-
1
votes1
answer106
viewsError change password on login system with PHP SQL Server
Good afternoon, I’m having a big problem where I can’t get the password in the system. What is bugging me is that it seems that sqlsrv_fetch_array works differently from mysql_fetch_array, I have a…
-
1
votes1
answer126
viewsCustomize password characters in the password field
I have a simple form of user and password, and I would like to configure so that instead of appearing the asterisk in the password field, I wanted an image to appear instead. The language of backend…
-
1
votes2
answers2506
viewsHow to create a password mask in C
I created this code in C to generate mask in the password, but it does not let delete the characters later nor save the variable correctly. What can it be ? Follows current code: void login(){ int…
-
1
votes1
answer3134
viewsWhich password encryption should I use with Node.js? which one is more secure?
I am taking a course of Node.js and in this the tutor uses md5 to encrypt the password.. more read in some articles that md5 ñ is very safe.. which is the most recommended to use with Node.js? Thank…
-
1
votes0
answers137
viewspassword_verify() PHP 5.5.12 Not working
I’m having trouble with password_verify (). A few days ago, the same password and hash worked perfectly. Today, password_verify returns false, but I know the password is correct. $senhaC =…
-
1
votes1
answer2145
viewsHow does bcrypt work?
I don’t quite understand the workings of salt of bcrypt, in a javascript code (Node): const bcrypt = require('bcrypt'); const saltRounds = 10; async function init(plainPassword) { let salt = await…
-
0
votes1
answer58
viewsIs the Regexp validity test correct?
I am trying to validate a password through Regexp, in javascript, but it only returns false when it should actually return true, for having given match value, someone would know if there is…
-
0
votes0
answers183
viewsdoubt with passwords
I am creating an application using MVC. On the server side, I am using c#/Asp.net MVC, on the client side I am using html/angular. On the server I have a method called Authenticate, which receives…
-
0
votes0
answers60
viewscrypt without the use of salt
There is a system in PHP that was not developed by me, it uses crypt to encrypt the user’s password, thus: $senha = crypt($senha); With the PHP update on the server, crypt is asking for a salt when…
-
0
votes1
answer277
viewscreation of password in the standard
Good morning to all!! How do I create a password in the style of passwords created by Windows? for very particular reasons I need to use the Laravel users table, but it is my parallel application…
-
0
votes0
answers93
viewsWordpress new user email
I am customizing the password definition email that is sent to the user when they sign up, but when I try to create the password definition link it is not taking the user login, I am using the code…
-
0
votes0
answers307
viewsChange mysql root password on linux!
Good afternoon Personal! I’m new to the world of development and I’m new to linux. I installed the mysql client and server and then installed mysql-workbanch via Xubuntu program center. At no time…
-
0
votes2
answers44
viewsHow can I check if two values of two matrices are in the same position?
I am trying to create a mini login system using python, where a login and password are requested, and if the two match, for example: the login is at position 2 and the password is also at position…
-
0
votes1
answer366
viewsExtract file . zip Password protected
I am doing a VBA macro in excel, to extract . zip files (which would be a barbada to do), except when the file is protected. I searched everything that is corner, there are several tutorials to…
-
-1
votes1
answer39
viewsIs it possible to count license validation days without depending on the system date?
I’m new to the programming world. With the help of some tutorials, I was able to build an application for school management. Also with the help of the Javaplugados channel I was able to build a…
-
-1
votes1
answer120
viewsMake an encrypted Mysql database connection
To make a connection to the Mysql database use this code in PHP: $host = "host"; $usuario = "usuario"; $banco = "banco"; $senha = "senha"; $pdo = new PDO('mysql:host='.$host.';dbname='.$banco,…
-
-2
votes2
answers1019
viewsUse "anti_injection" in a MD5 password
I am studying a little more in depth the PHP and in question of security in PHP I have used the standard anti_injection found on the internet and used by many function anti_injection($sql){ $sql =…
-
-2
votes1
answer48
viewsIs it safe to use filter_input to receive password from another page? Should I use a filter or Sanitizer?
I’m still new to programming so I don’t know what safe ways to handle a password.