Questions tagged [passwords]

Passwords serve as a primary means of gaining access to information and controlling the number of individuals who can log into a device. They are typically paired with a username to establish an authorization system. In certain cases, keys are employed as substitutes for passwords owing to their enhanced security features.

Tips for Safeguarding a PHP Connect File and Database Passwords

Can anyone provide guidance on how to properly secure a php file containing the sensitive database connection passwords? The file is currently named connect.php as it is stored locally, but I will soon need to upload the application and make it live. ...

The Safari browser restricts interaction with password inputs but allows interaction with other types of input fields

My password input field is styled like this: <input class="genericButton" id="login-password" type="password" name ="password" placeholder="Password"> While everything functions correctly in Chrome, I encounter an issue with Safari. When I try to i ...

The alphanumeric regex format is not displaying the password validation message

My issue is that the password validation message is not being triggered when I enter only letters or numbers in the password field. Ideally, I want the validation message to show if the password is not alphanumeric. I am currently using react-hook ...

Discover the effective method in Angular to display a solitary password validation message while dealing with numerous ones

Here is the pattern we use to validate input fields: The length of the input field should be between 6 and 15 characters. It should contain at least one lowercase letter (a-z). It should contain at least one uppercase letter (A-Z). It should contain at le ...

What are the top two algorithms for encrypting passwords securely?

Planning to enhance password security by storing passwords with 2 different hashes. The goal is to minimize collisions and boost overall security level. First question: Is this strategy worth the effort given that collisions are already quite rare? Secon ...

Confirm that the username and password are a match (php)

Authentication of users is being checked using PHP. The process involves cross-referencing the entered name and password with the data stored in a JSON file. If the inputted name matches an existing entry in the file, then the corresponding password is che ...

Exploring various password requirements with VeeValidate

Is it possible to implement multiple password requirements in VeeValidate to show users which criteria they are not meeting? For example, if we specify that a password must contain at least one uppercase letter, at least one number, and be a minimum of 5 ...

PHP response is blank when password_hash or password_verify functions are used

My application utilizes JavaScript to retrieve a string and send it via POST to a PHP file on the server for processing. The PHP receiver is responsible for parsing the string, performing tasks, and sending back status updates to JavaScript. However, after ...

Struggling to modify the user password following authentication through Cognito

After creating a user using adminCreateUser, I encountered the challenge of NEW_PASSWORD_REQUIRED while trying to authenticate with adminInitiateAuth. How can I change the password in this scenario? I'm attempting to reset the password for a user with sta ...

Tips on securely saving passwords using Greasemonkey

Created a custom userscript that prompts users to save their login credentials in order to avoid entering them repeatedly. Familiar with using localStorage.setItem() to store key-value pairs, but concerned about storing passwords in clear text. Seeking ad ...

What is the best way to leverage an existing user database and integrate user authentication into a fresh project?

I have recently taken on the task of revamping an established project by creating a brand new frontend from scratch. After careful consideration, I have opted to develop a straightforward Vue/Node.JS project. Within the current framework lies a Postgres d ...

Resetting Laravel passwords without relying on user emails, with the additional use of Angular for the front end interface

I'm currently working on a laravel-angular application that requires a password reset feature. However, the default password-reset in Laravel relies on email verification, which is not necessary for this particular application. I tried setting $confir ...

NodeJS Password Recovery

Recently, I implemented a password reset feature using NodeJS/Passport. I found an excellent guide: . I followed the instructions and it was mostly successful. However, there seems to be a critical error that I can't locate. When a user goes through the pr ...

What could be causing the issue with sending data via Ajax when using the `type="password"` input?

Why does sending data using ajax with input type="password" not work? The main idea is that when I fill in a password less than 6 characters, it should display Password minimum 6 characters I tested this code and found that it was not working. So, I edit ...

Toggle the visibility of the password using VueJS without changing the value of the "type" property

I have been working with a basic input component that includes the property type, which has been functioning well so far. However, I am facing some challenges when trying to implement password obfuscation. How can I toggle the visibility of the password w ...

Creating a password with two distinct numbers using regular expressions

In javascript I am struggling to create a password that meets the criteria of having at least eight characters, including two SEPARATE digits, one uppercase and one lowercase letter, as well as one special character (-, @, #, $, &, *, +) but not /, !, ? ...

Should I use the default or a custom salt with the PHP password_hash() function

Seeking advice on the best method for encrypting user passwords, I am considering three options and would appreciate some guidance. 1. Option: Default Salt with password_hash() $passwordInput = $_POST['password']; $passwordHash = password_hash( ...

The __init__() function in Django encountered an error with the unexpected keyword 'user' being passed

Currently, I am working on establishing a password reset system using the default django libraries. However, I have encountered an error trace while trying to access the site for changing passwords (PasswordChangeConfirm). Internal Server Error: /reset/con ...

Saving password1 and password2 in a Django form is not possible

I've built a (CustomUserForm) that looks like this: from django.contrib.auth.forms import UserChangeForm from .models import User from django import forms class CustomUserForm(UserChangeForm): username = forms.CharField( widget=forms.Tex ...

Sending passwords in the HTTP request body during the spring season. Securely storing user passwords in Java

After creating a node rest API using firebase to handle user login authentication with a JSON payload containing username and password, I am now faced with the challenge of integrating this functionality into my spring application in a secure manner that d ...

Issues with logging out of Facebook using passport

I am currently working on implementing Facebook passport authentication. Below is the code I have in my server.js file for the route used when a user clicks on login via Facebook: router.get('/auth/facebook', passport.authenticate('facebook',{ scop ...

What is the best way to integrate joi-password-complexity into Joi validation?

I am looking to strengthen password security during user registration by utilizing the joi-password-complexity package. https://github.com/kamronbatman/joi-password-complexity However, I encountered an error when attempting to implement it: (node:1487 ...

Exploring the function of Selenium in validating email addresses and passwords

Our new ecommerce website includes an exciting feature where automatic emails are sent to customers after they place their orders. To ensure this function is working properly, it’s important to test whether the customer actually receives the email and ...

Determine if the password is accurate using jQuery

Having some trouble with my login form. The JavaScript code always returns a false value, even when I'm entering the correct username and password. This is the jQuery code snippet: $(document).ready(function(){ var teamname = $("#teamname"); var te ...