Click here to Skip to main content
15,881,248 members
Everything / Password

Password

password

Great Reads

by Joe Dillon
This article describes the security techniques required to create a secure offline password manager and how the Libsodium library has been used to achieve this. YAPM stores passwords with AES encryption and authenticates users with an Argon2 hash.
by Gerard Castelló Viader
Password cracker made in WASM Rust inspired by the popular John the Ripper
by ASP.NET Community
The TextBox server control is an input control that lets the user enter text. By default, the TextMode property is set to SingleLine, which creates a
by ASP.NET Community
Different forums are filled with the questions regarding how to manually implement cookies for login or in other words how to implement "Remeber me"

Latest Articles

by Gerard Castelló Viader
Password cracker made in WASM Rust inspired by the popular John the Ripper
by Joe Dillon
This article describes the security techniques required to create a secure offline password manager and how the Libsodium library has been used to achieve this. YAPM stores passwords with AES encryption and authenticates users with an Argon2 hash.
by raddevus
Plug this device into your computer and never type or memorize a password again. That's right, no need to memorize your Windows login (and you won't be able to because it will be so long and complex anyways).
by adriancs, Taylor Hornby
Securing Password by Hashing with Salt

All Articles

Sort by Title

Password 

29 May 2013 by Justin Jendrick Nocillado
Is it possible to type hidden password in form without textbox? i mean like typing the cheat in GTA?i want to set a password in my mainform to open another form.
29 May 2013 by CHill60
If you have KeyPreview=True on your form then you can capture any keystrokes on the form before they get passed onto any controls on the form. You can analyse them in any of the Key*** events on the form e.g.Private Sub Form1_KeyDown(ByVal sender As System.Object, ByVal e As...
16 May 2015 by Member 11694588
Reworded to make a little more sense...Reposted:http://www.codeproject.com/Messages/5059308/Code-Project-User-Account-Silent-Login-Fail-Confli.aspx[^]When I try to sign into Code Project it takes me straight back to the page I was at, doesn't sign me in, and doesn't report an error.I...
15 May 2015 by OriginalGriff
If you mean this site (rather than one you created) then you need to bring this to the attention of the staff. Post this here: http://www.codeproject.com/suggestions.aspx[^] and they will see it (posting in QA they aren't likely to, QA cycles pretty fast most days, and nobody reads every post...
21 Oct 2014 by Muhammad Taqi Hassan Bukhari
I have a project to understand and modified. in this the developer is using asp.net membership provider for user registration purposes. I need to know which password encryption technique is using in this project.My web.config file is this.
21 Oct 2014 by Kornfeld Eliyahu Peter
A little Google can get you so far....http://msdn.microsoft.com/en-us/library/system.web.security.membershippasswordformat(v=vs.110).aspx[^]http://referencesource.microsoft.com/#System.Web.ApplicationServices/Security/MembershipPasswordFormat.cs[^]
22 Jan 2014 by DoingWork
I want to store Login passwords (in some format rather than original text) in SQL Database that unable or difficult to be hacked.1. What is the best algorithm for that?2. Can anyone explain how this algorithm will work for matching while matching during login ???Thanks.....
22 Jan 2014 by Christian Graus
The best thing to do is to google for articles and read up on how to use the stuff that is BUILD IN to SQL Server, instead of writing something inferior to that yourself.Basically, the best solutions actually encrypt the password, and the login code encrypts the password, and compares the...
22 Jan 2014 by Sergey Alexandrovich Kryukov
The best algorithm for storing passwords is not storing any passwords; this is unsafe and absolutely not needed for authentication.Surprised, disagree? Please see my past answers:i already encrypt my password but when i log in it gives me an error. how can decrypte it[^],Decryption of...
9 Mar 2014 by jayraj86
This is my .aspx code. I have three textboxes and one submit button1-Current Password2-New Password3-Confirm password ...
9 Mar 2014 by Aravindba
Hai If u want to change password as ur design,just get 3 text box values,first check with current password with db and then compare new pass and confirm pass and then update in user table.If u want to reset password,u need to get new password and user email address,check email...
9 Mar 2014 by SanSkun
Hi,Please write the bellow function "ChangePassword()" under Button1 clickThis will work for the changing password.If any error comes please let me know.private void ChangePassword() { try { con.Open(); SqlDataAdapter da = new...
9 Mar 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Here we answer specific questions which members face during programming. We can't work on the whole source code. You need to do that yourself.If you face any difficulty while coding, feel free to come back here and ask another question with specific issue describing the scenario....
18 Apr 2014 by Ali Al-Masry
C# Get Username and password from the Client using sockets ?
15 Apr 2014 by Sergey Alexandrovich Kryukov
Passing a password (in its original form) is the utterly bad idea. For authentication, you never need to pass it through the network or store anywhere. Anywhere at all. Disagree, surprised? The see my past answers:i already encrypt my password but when i log in it gives me an error. how can...
16 Jan 2013 by Alexey Loire
Hello community.I met quite a problem during writting my software.The software is doing delayed deletion of files and folders. Main algorythm is in win32 service which gets data and user credentials from db. For deleting an object it must impersonate itself as user that had added it in db....
9 Jun 2015 by Thomas Daniels
Hover with your mouse over your name in the top-right corner of the page, and select "My Settings". There you can change your password.
31 Aug 2018 by Member 13836193
I am using Visual Studio 2017 C# .NET Framework 4 I have two forms My first form has the code below that works. Enter password and click OK //manually define password because we are not using any database string Password = "password"; if (Password == textBox1.Text)...
31 Aug 2018 by OriginalGriff
You can't change the password because you are using a single, fixed password: string Password = "password"; And you can't change that because it is part of your application. In order to start writing a "change password" form, you first need to start storing users and their passwords somewhere...
3 Dec 2015 by Marinkovic Dragan
Hello,I can not change the password.Well, it is becasue I did not put any password on the begining, i.e. I do not have current one. I mean I do not know it.At the moment I'am logging on site automatically, without pwd.Regards, Dragan Marinkovic , dipl.ing.el.
3 Dec 2015 by OriginalGriff
If you mean you want to change your password for this site and are having problems, then ask here: http://www.codeproject.com/suggestions.aspx[^] - you may need admin help and they read everything there.If you mean anywhere else, then you need to give us a lot better information!
3 Jun 2021 by OriginalGriff
There are no hard-and-fast rules that everyone must obey when it comes to passwords at all, much less an "approved character list". Different sites - and different applications - will enforce different policies which may involve: * Password...
3 Jun 2021 by MagdalenaHrda
Which character classes are allowed for users passowrd? What I have tried: I have tried [A-Z] [a-z] [0-9] and !"#$%&'()*+,-./:;?@[\]^_`{|}~ but some of them are not allowed
3 Sep 2013 by torin86
Hi!I´ve a WPF application with a TabControl inside it. This TabControl has some TabItems.I want before open one of the TabtItems (TabItemWithPassword) a password window apperars over all app. and blocks it.In case that the user puts the correct password, the password window must...
26 Sep 2016 by Member 12759596
How to Fix privacy violation issue in java .Source is :public void setPassword(String password) { this.password = password; }and it is being use in one method:finalJsonObj.put("userId", user.getUserId()); finalJsonObj.put("userList", userList); return...
26 Sep 2016 by Member 9590560
Having password variable being declared as a string does not necessarily mean it is in readable text. That means it might have string declaration but value being input can be a hash, encrypted string or anything. Best thing to do is check with your code/code of service provider on how this...
8 Jan 2020 by TheresaKang93
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System;using System.Data;using System.Data.SqlClient;using System.Net.Mail;using System.Configuration;public partial class...
9 Jan 2014 by Christian Graus
Having seen this code, I would never use your website, due to all the security holes.But, if the email is not sent, then your mail server is not set up correctly, not a big leap from how bad this code is.Nowadays, passwords get stored encrypted, and it is impossible to send someone their...
9 Jan 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Refer my answer - sending email to gmail from asp.net[^].This works pretty good. Tested.If you are getting any Exception, please reply me with that. I will, help.
9 Jan 2014 by Sergey Alexandrovich Kryukov
Please see the comments to the questions, Ron's and mine. Please see my past answers for some further detail:i already encrypt my password but when i log in it gives me an error. how can decrypte it[^],Decryption of Encrypted Password[^],storing password value int sql server with...
12 Feb 2020 by phil.o
You should post your question in the appropriate forum: Bugs and Suggestions[^] so that an admin can have a look at it.
20 Apr 2019 by Richard MacCutchan
The first (implied) parameter passed to any class member function is the object reference. So your two methods should have signatures as follows: def validatePassword(self, password): def setNewPassword(self, proposed_password):
20 Apr 2019 by kenziehong
ASSIGNMENT: You should NOT use a full-featured framework, just plain code No database, user interaction or other functionality is required (so no HTML/CSS/JavaScript); it just needs to be the code which runs and passes the tests...
19 Jan 2021 by Member 13987161
i'am trying to generate a random password using python random library where i've defined a number of alphabets(upper, lower & digit) in a variable and also defined the password length size should be 3(EXAMPLE), now using if statement i tried to check whether the random generated password would...
17 Sep 2018 by Richard MacCutchan
counter = 0 while 1: passwd = ''.join(random.sample(sbc,passlen)) if passwd == 'abc': print('password matched') break print(passwd, "does not match") counter += 1 print(counter, "iterations")
11 Oct 2013 by ASP.NET Community
When working with an ASP.NET site that requires some sort of user authentication (almost every time, I'd say), we often need to establish our own
20 Oct 2014 by Muhammad Taqi Hassan Bukhari
I have a database in which user's password are stored as encrypted form using asp.net membership provider. here is the setting for membership in web.config
20 Oct 2014 by OriginalGriff
We do not condone, support or assist in the production of malicious code in any way, form or manner. This is a professional site for professional developers. And decrypting database passwords is almost certainly malicious: ask the owner / originator of the password what it is. You do have...
6 Oct 2015 by Member 12038217
For my School we use a homework website called HomeLogic. I want to take the assignments block of that website and put it into a custom Homepage that I have made.Here is the code of the "Assignments" frame.
6 Oct 2015 by Paul Conrad
You would most likely have to see if Homelogic has an API that allows you to grab the content.
6 Oct 2015 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
I think you should show the login page in the frame. When user enter username, password and clicks the sign in button, it will automatically redirect to the next page. But even if you are showing a different page which requires login, if that app has that code to redirect back to login when...
6 Oct 2015 by Krunal Rohit
Addition to Paul's answer (Solution #1), you can use Window.postMessage()[^], which is concept of Cross-Document Messaging[^]-KR
18 Sep 2012 by Enver Buzoku
Shows how to encrypt only the passowrd of an MS SQL connection string in the App.config of a .NET application.
6 Aug 2016 by raddevus
Plug this device into your computer and never type or memorize a password again. That's right, no need to memorize your Windows login (and you won't be able to because it will be so long and complex anyways).
11 Oct 2013 by ASP.NET Community
FtpWebRequest class to upload a file to ftp server (destination )This Function shows how to upload a file ftp server. this function simply return
11 Oct 2013 by ASP.NET Community
This is simple and effective method for generation of a random password Public Function GeneratePassword(ByVal PwdLength As Integer) As String   
24 May 2022 by Manbir Singh 2022
I'm writing a code for Random Password generator where user should have an ability to select the length of password from pre-defined range (15,25) and code will generate random password using letters, numbers and symbols. If a user enters a...
24 May 2022 by CHill60
Look at the line random_char = random.choice(letters) + random.choice(numbers) + random.choice(symbols) For every iteration of the loop you are adding three characters to the array. You could change your loop to be something like for char in...
24 May 2022 by OriginalGriff
The way I do it is simple - just use a GUID: uuid — UUID objects according to RFC 4122 — Python 3.10.4 documentation[^] Create it as a Hex string and you get something like this: 11069f3e-bc2b-469c-ab00-2297d1c7e07f Use that as a password and...
24 May 2022 by Richard MacCutchan
You need to select either letters or numbers or symbols each time, not all three. Here is a sample that will do that automatically: import random letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',...
10 Jan 2013 by moon_lu
Now, I forget the Excel password ,whether there is method or Application to get the password. thank you.
10 Jan 2013 by Mehdi Gholam
Try the following : http://download.cnet.com/Free-Word-Excel-password-recovery-Wizard/3000-2092_4-10249515.html[^]http://www.lostpassword.com/excel.htm[^]
27 Jan 2015 by Sujith Karivelil
This article will help you to create, update and delete events/ appointment in google calendar from your web application.
29 Jan 2013 by dantincu
Hi, I just forgot my password and sent a request for a new password. I received the email but now i want to change my password. How can i do that?
29 Jan 2013 by OriginalGriff
Go to your settings: look in teh top right of this page, and hover your mouse over your username.Click on "My Settings" and a new page will open.It should already be on the "Account" tab - if it isn't select it.Near the middle of the page is the word "Password" - hover the mouse over the...
6 Dec 2012 by Krunal Rohit
http://snarfed.org/change_firefoxs_saved_passwords[^]http://support.mozilla.org/en-US/kb/reset-your-master-password-if-you-forgot-it[^]hhttp://support.mozilla.org/en-US/questions/929062[^]
6 Dec 2012 by DevangRC
How can I change my password in Code Project Website?
6 Dec 2012 by Krunal Rohit
Go to profile >> My Setting >> Account
6 Dec 2012 by OriginalGriff
Look at the top of this page: hover your mouse over your username.From the drop down list that appears, select "My Settings".In the resulting page, about half way down, is the word "Password". Click the "Change..." link beside it.Enter your old and new password, and press "Save My...
30 Jun 2015 by nehasheth
How can I change my CodeProject account password?
30 Jun 2015 by Thomas Daniels
To change your CodeProject password, hover with your mouse over your name in the top-right of the page, select My Settings[^] and there you'll see an option to change your password.Also, next time you have a question about CP, please remember to ask it at the Bugs and Suggestions forum[^],...
10 Dec 2018 by Atipos
I should create a "Valid" button which once inserted the password inside the cell goes to verify that the password is equivalent to the one already inserted in another table. Example: Users table User A 12345 User B 6789 User C 4785 Hours Mask User A 8 hours 12345 [VALID] (Right password?...
10 Dec 2018 by MadMyche
User names and passwords are credentials for Authentication. Outside of that, the credentials are no longer needed, so in essence; the second table has no need for the password. Q: How would I change your process? A: Validate the credentials against "Table A", and if authentication succeeds,...
3 Mar 2014 by cawboy_iran
Hi every onei had a problem with sharepoint data Types.when i create a single line text column, type of this column is text and when i want use this column as password field, There is no option change type to password.and characters shown normal Instead of '*****'i also use...
4 Mar 2014 by Maciej Los
Have a look here: Step 2: Add the Code for the Custom Web Part[^]
19 May 2013 by Richard MacCutchan
Please do not repost the same question omore than once. If you have extra information then edit your original.
13 Sep 2015 by OriginalGriff
We do not condone, support or assist in the production of malicious code in any way, form or manner. This is a professional site for professional developers. If you want to know how to create such things, you need to visit a hacking site: but be sure to disable all firewalls and antivirus...
26 Feb 2014 by Jatin_Khimani
I get this mail from info@codeproject.comHi JatinKhimani,Your account at CodeProject has been reported as The member is being abusive or is a troll 5 times and is now deactivated.First i uploaded article but that was rejected then got above mail.i need to recover my old account...
26 Feb 2014 by phil.o
A better place for this question would be here:Site Bugs / Discussions[^]Good luck.
6 Feb 2023 by Range Courier
I got a code for multi user login page. Everything is OK here but when I provide password, it is showing the text. Usually as a password field it will be masked. Can anyone help me by editing the following code. Thanks in advance. Arifin What I...
6 Feb 2023 by Richard Deeming
prompt[^] is a very limited API which instructs the browser to display a message and ask the user to enter some text. There is no way to "mask" the text that is entered. Rather than using such a clunky script, use a proper login form - use an...
4 Aug 2014 by rosywpsuk
Where can I change my Password?
4 Aug 2014 by OriginalGriff
Look at the top right of this page.Hover the mouse over your username, and wait for the drop down to appear.Click on "My Settings"The first tab of the page has a link next to "Password" labelled "Change..." - click the link, or hover the mouse over it.Enter your old and new passwords as...
15 Jul 2015 by CHill60
This is the wrong forum. Try posting something on the Sugs&Bugs[^] forum, or contact the site admin
15 Jul 2015 by Member 11838657
Can you advise how I contact the site admin?
15 Jul 2015 by Sergey Alexandrovich Kryukov
Please write here: http://www.codeproject.com/suggestions.aspx[^].I do understand that your request is not a suggestion or a bug report, but this is the forum regularly attended by administration, people who solve such problems. I hope you will be able to work at a single account after all....
29 Oct 2015 by Loretta Belt
I can't figure out how I change my account password in Code Project. Can you please provide me with steps to change my password?I would also suggest adding these instructions to your temporary password email. :)Thanks!
29 Oct 2015 by Richard MacCutchan
Go to your settings page: https://www.codeproject.com/script/Membership/Modify.aspx[^].
29 Oct 2015 by Thomas Daniels
Go to the "My Settings" page: https://www.codeproject.com/script/Membership/Modify.aspx[^] (use this link or hover on your name in the top-right corner, and select "My Settings"), then you'll see a "Password" label and a "Change..." link next to that, and when hovering over that link you have...
29 Oct 2015 by Krunal Rohit
Go here: https://www.codeproject.com/script/Membership/Modify.aspx[^]Go to My Settings and hover on the change link besides by Password.You'll see a popup and voila ;)-KR
30 Jan 2016 by Dennis Polack
How do I change my password How do I change my password How do I change my password How do I change my password
30 Jan 2016 by OriginalGriff
No need to repeat yourself! :laugh:You can close it yourself: Look in the top right of this page, and hover the mouse over your username.From the menu that appears, select "My Settings".The settings page is organised into tabs: pick the "Account" tab.On the left side of the page, under...
4 Feb 2013 by Member 2853200
How do I change my password.......?
4 Feb 2013 by fjdiewornncalwe
Click on the My Settings link (top right corner of the screen in the menu under your username) and then click the Change Password link on your settings page.
4 Feb 2013 by Mike Meinz
It is not very difficult. Click on your name in the upper right cornerClick on My SettingsNext to the word Password, click Change...
4 Feb 2013 by Sergey Alexandrovich Kryukov
Click here: https://www.codeproject.com/script/Membership/Modify.aspx[^].—SA
15 Jul 2014 by rob.evans
I do not see a link to change my password under Settings.
15 Jul 2014 by Peter Leow
Your name > My Settings > Account > Password Change...
15 Jul 2014 by Sergey Alexandrovich Kryukov
Please click here: https://www.codeproject.com/script/Membership/Modify.aspx[^].Can you see it now? :-)—SA
29 Sep 2014 by Michael Kosak
i forgot my password and received a new temp onehow do I reset my password?Mike Kosak
29 Sep 2014 by Michael Kosak
DOH! it's on the 'my settings' page...
29 Sep 2014 by Sergey Alexandrovich Kryukov
Please, next time, ask such off-topic questions here:http://www.codeproject.com/suggestions.aspx[^].This page is regularly checked by site administration. It will help you to avoid off-topic question on the Q&A forum; also, please don't post anything as "Solution", except the cases when...
3 Sep 2021 by Diego Utreras
I'm trying to use Laravel 8 to reset the password but its not working. I can send the email link, go to the form to input the new password and confirm it. After that I manage to log in but when I log out and try to enter with the same user with...
25 May 2022 by Member 15650072
Hi, I had the same problem as u. I did in User: /** * Cifrará con el helper bcrypt() la contraseña que le pasamos desde donde sea */ public function setPasswordAttribute($password){ if(trim($password) === ''){ ...
1 Oct 2014 by this.CodeProject.Enabled = true;
Hey,I have a windows form with C# language and am using vs2010.I have a username box, password box and button for enter (login).Now the problem is, if I type the right password in, then I want that if I hit the enter key on my keyboard it automatically hits the enter button btw....