Secure your Web Application's Reset Password flow

On22nd Jan 2023, 2023-01-22T08:00:00+05:30 Read Pause Resume Stop
Secure your Web Application's Reset Password flow

Generally any application framework provides users to have a flow to reset the passwords by default, It is more like, use clicking on the Reset Password link and redirects to a page where he will asked for email, and reset link sent to users email, so that user can reset the password on their own.

This is a default or general flow that any application framework provides, but developers or architects have to make sure, this flow is more secure than just an email confirmation.

And, in this article we are gonna see certain inputs, which help developers or architects to design and develop a better secured recovery password flow in the web application.

1. Set expiry on reset password link

Make sure the reset password link expires in a certain amount of time, so that the user is entitled to reset the password in that interval of time. And also the link will not be available for users forever to reset the password.

2. Application to identify reset password link

Always make sure the web application will identify the reset password link that is shared to the user. This can be done by adding the token to the reset password link and validating the token with application secure storage, when the user uses the reset password link and resets the password.

3. Password should be set complex

Allow users only to set the complex passwords, don’t allow users to set simple passwords.

  • Alphanumeric Character types (one digit, one letter and one punctuation)
  • Uppercase and Lowercase
  • Length of minimum 8 characters
  • Don’t allow username or email as password.
  • Check history of password (avoid users to set old passwords.
  • Avoid generic passwords (like admin, admin123 etc)

4. User Sessions

During the password reset flow (while the reset is triggered by users), make sure to clear all the sessions of the users from the application, including in other devices.

5. Hash the passwords

Use the latest and most secure encryption algorithm to hash the passwords.

6. Have questions on reset password form

This is quite an extra step, but this can be helpful to make sure the reset password flow is secured with one more step.

7. Logging

Avoid logging the sensitive information related to passwords or password hashes or the input provided by users which is sensitive and can crack the reset password flow.

8. Limit Password retries

This can be applicable in certain cases, but should not be applied for all the cases.

  • Multiple reset password requests from a certain IP, in this case limit the reset of password.
  • Multiple failed login attempts in a short interval of time from different IPs, then avoid this request. Have something like 3 attempts for failed login and should wait for sometime.
  • Also look into the brute force attack to set such a limitation on the password reset workflow.

9. TFA

Having a two factor authentication is one more step of securing the reset password workflow.

10. Captcha

Have Captcha on the reset password form, so that it adds one more step of security to the flow.

These are some basic and informational inputs on the reset password flow. Thanks for reading the article, for more science and technology related articles read our peoples blog articles.

540OFF
Amazon Brand - Solimo Non-Stick Kadai with Glass Lid | Granite Finish | Induction Base | PFOA Free | High Temperature Resistant Exterior Coating | 22 cm | Grey

Amazon Brand - Solimo Non-Stick Kadai with Glass Lid | Granite Finish | Induction Base | PFOA Free | High Temperature Resistant Exterior Coating | 22 cm | Grey

559 1,099
  • HEAT CONDUCTIVITY: Made with pressed aluminium, the tawa provides high conductivity which enables quick heat distribution and even cooking
  • PFOA-FREE: Being PFOA-free, the product is safe for daily use
  • NON-STICK: The non-stick feature makes it super convenient to use as food doesn't stick to the cookware
  • PHENOLIC HANDLES: This product has phenolic handles which remain cool to the touch during cooking
  • DISHWASHER-SAFE: The product is dishwasher-safe and hence, easy to clean and maintain
  • PACKAGE CONTENTS: 22cm Kadai, 1 Glass Lid
Home & Kitchen
2,099OFF
London Hills Women's Casual Printed Round Neck, Oversized Longline Drop Shoulder Boho Style Regular Fit T-Shirt Pack Of 2

London Hills Women's Casual Printed Round Neck, Oversized Longline Drop Shoulder Boho Style Regular Fit T-Shirt Pack Of 2

499 2,598
  • Fit Type: Oversized Fit
  • Fabric: Cotton blend
  • Sleeve Type: Half Sleeve
  • Neck Style: Round Neck
  • Pattern : Printed
Clothing & Accessories
251OFF
Amazon Brand - Solimo Stainless Steel Induction Bottom Kadhai (25cm), Silver

Amazon Brand - Solimo Stainless Steel Induction Bottom Kadhai (25cm), Silver

449 700
  • A safe and robust cooking utensil made from 100% food grade Stainless Steel.
  • Product Dimensions : 25CM diameter , depth : 7.8CM.
  • Serves various cooking, frying and serving options for daily kitchen needs.
  • Made with high-quality induction bottom that is also gas stove compatible.
  • Sturdy and durable with a thickness of 0.6mm and capacity of 3000ml.
  • A stable grip with double riveted ear handles. Easy to clean in a dishwasher.
Kitchen & Dining

Related Articles

1,840OFF
Amazon Basics 8-Piece Non-Stick Cookware Set| 2-Way 3 Layer Non-Stick Coating | PFOA Free | High Temperature Resistant Exterior Coating, Black,Aluminium

Amazon Basics 8-Piece Non-Stick Cookware Set| 2-Way 3 Layer Non-Stick Coating | PFOA Free | High Temperature Resistant Exterior Coating, Black,Aluminium

2,859 4,699
  • Enjoy healthy and efficiently cooked food made using this non-stick 8-piece cookware set
  • The cookware set is made from pressed aluminium that is ultra-conductive, corrosion-free; it ensures quick heating and helps save energy
  • The heat-resistant phenolic handles remain cool even at temperatures when cooking the food
  • The coatings are 100% free from PFOA, lead, cadmium, nickel, and arsenic and approved by USFDA and European Food Safety Authority (EFSA)
  • The 2-layered exterior coating is scratch-resistant while the 3-layered interior is coated with a water-based eco-friendly PFOA-free coating
  • The durable and lightweight cookware is suitable for meeting the needs of daily cooking
  • The cookware is gas-stove compatible and dishwasher-safe
  • Package contents: Fry pan - 20 cm, fry pan - 26 cm, sauce pan - 16 cm with glass lid, sauce pan - 18 cm with glass lid, casserole - 20 cm with glass lid
Home & Kitchen

Recent Articles

Recent Quick Read

Recent Great People

3,000OFF
Lava Storm 5G(Gale Green,8GB RAM,128GB ROM)-Powered by MediaTek Dimensity 6080 Processor|120Hz FHD+ Display|50MP+8MP Ultrawide Camera|16MP FrontCamera|33W Fast Charging|Upto 16GB ExpandableRAM

Lava Storm 5G(Gale Green,8GB RAM,128GB ROM)-Powered by MediaTek Dimensity 6080 Processor|120Hz FHD+ Display|50MP+8MP Ultrawide Camera|16MP FrontCamera|33W Fast Charging|Upto 16GB ExpandableRAM

11,999 14,999
  • Solid Performance with 2.4 Ghz Octa Core MediaTek Dimensity 6080 Processor, Camera - 50 MP + 8 MP Ultrawide Dual Rear Camera with LED Flash and 16 MP Selfie Camera.
  • Also supports 2K Video Recording with EIS Support
  • Premium Glass Back Design
Electronics
6,610OFF
Panasonic 280 L Double Door 3 Star AI Enabled Inverter Technology Frost Free Refrigerator (NR-TH292CPKN, Diamond Black, Jumbo Fresh Vegetable Basket,2023 Model, Net Capacity 256L)

Panasonic 280 L Double Door 3 Star AI Enabled Inverter Technology Frost Free Refrigerator (NR-TH292CPKN, Diamond Black, Jumbo Fresh Vegetable Basket,2023 Model, Net Capacity 256L)

30,590 37,200
  • Double door Frost Free Refrigerator: Stylish design, efficient operations and ample space, making it a perfect addition to a new age home.
  • Keep your food fresher and healthier for longer with this modern and chic refrigerators.
  • 280L Capacity: Suitable for families with 3 to 4 members
  • Net Capacity: 256L
  • 3 Star rating - The star rating changes are as per BEE guidelines on or before 1st Jan 2023.
Refrigerators
641OFF
Amazon Brand - Solimo Stainless Steel Saucepan with Glass Lid, Induction Base (16 cm, 1500 milliliters)

Amazon Brand - Solimo Stainless Steel Saucepan with Glass Lid, Induction Base (16 cm, 1500 milliliters)

459 1,100
  • Stainless steel saucepan for safe and versatile cooking
  • Made using food safe stainless steel that is sturdy and durable
  • Being scratch and chip resistant and non-corrosive makes it an ideal choice for everyday use
  • Suitable for preparing sauces, boiling water, simmering, making soups, stews, tea and more
  • Cool-touch bakelite handle prevents the transfer of heat and provides a firm grip for holding
  • Easy to stack allows minimum space utilisation in the kitchen
  • Easy to clean and maintain as food doesn’t stick to the inner or outer surface
  • Comes with a toughened glass lid that allows you to see the food as it cooks
  • Compatible with gas-stove and induction cooktop
  • Product Dimensions:- Length: 335 mm (33.5 cm), Width: 176 mm (17.6 cm), Height: 125 mm (12.5 cm), Bottom Thickness: 3.5 mm (0.35 cm), Handle Position: 85 mm (8.5 cm), Depth: 80 mm (8 cm), Weight: 795 gm (0.795 kg), Capacity: 1500ml (1.5 litres), Glass Lid diameter: 160 mm (16 cm)
Home & Kitchen
3,000OFF
Redmi 10A (Charcoal Black, 4GB RAM, 64GB Storage) | 2 Ghz Octa Core Helio G25 | 5000 mAh Battery

Redmi 10A (Charcoal Black, 4GB RAM, 64GB Storage) | 2 Ghz Octa Core Helio G25 | 5000 mAh Battery

8,999 11,999
Redmi 10A (Charcoal Black, 4GB RAM, 64GB Storage) | 2 Ghz Octa Core Helio G25 | 5000 mAh Battery | Finger Print Sensor | Upto 5GB RAM with RAM Booster
Mobiles & Accessories
We Need Your Consent
By clicking “Accept Cookies”, you agree to the storing of cookies on your device to enhance your site navigation experience.
I Accept Cookies