1 / 30

Password Protection: How Safe Are Your Passwords?

Password Protection: How Safe Are Your Passwords?. Anderson School of Management Anderson Graduate Student Bachelors of Science in Computer Science Masters of Science in Computer Engineering Master of Science in Information Systems and Assurance. Overview. About the Program

adamsdonna
Download Presentation

Password Protection: How Safe Are Your Passwords?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Password Protection:How Safe Are Your Passwords?

  2. Anderson School of Management Anderson Graduate Student Bachelors of Science in Computer Science Masters of Science in Computer Engineering Master of Science in Information Systems and Assurance

  3. Overview • About the Program • Forms of Protection • Why Passwords? • Good Password Tips • Hacking Passwords • Programming with Python • Python Password Generator

  4. Information Assurance Program • The Information Assurance program is an interdisciplinary field combining aspects of management, information technology, specialized aspects of computer science, computer engineering, information systems and accounting. • Program Website: https://ia.mgt.unm.edu/default.asp

  5. Summer Camps • Introductory Cybersecurity Camp:The introductory camp is intended for high school students just learning about cybersecurity and computer systems.  • https://ia.mgt.unm.edu/summer-camps/default.asp

  6. Forms of Protection • Passwords • Two-factor Authentication • i.e. a password and image • Biometrics • Fingerprints, eye scans, etc. • Tokens • A piece of technology that only you can use to login somewhere.

  7. Why Passwords? • Passwords are here to stay • Why!? • Passwords are easy to remember. • Are used for almost everything. • Are still wonderful if created and protected well.

  8. Good Password Tips • You should never: • Reuse a password for multiple logins. • Make a password using your personal information like your name, birthday, pets name, etc. • Make a password that is commonly used such as, abc123! Or P@55w0rd, etc.

  9. Good Password Tips • If allowed, passwords should: • Be 10-14 characters long • Have lower and upper case letters, numbers and symbols. • Be something unique to you that you will remember.

  10. Hacking Passwords • Password protection is very important. • Hackers have tools now to find a password almost immediately. • Tools today can figure out simple passwords in under 0.23 milliseconds! • Tool:

  11. Even Celebrities Are Affected

  12. Programming With Python • Random • This library allows us to generate a random set of characters. • Example Code: import random • print • This function lets us print out what our program created. • Example Code: print p

  13. Programming With Python • Join() • This function allows us to join multiple parts together. • Example Code: “”.join(random.sample(x,y)) • Variables • We can set values to variables in order to do things with them. • Example Code: variable = “123”

  14. Python Password Generator • Step One: • Open the following link: • https://repl.it/languages/python3 • Step Two: • Let’s make sure we include our library. • In order to use the random library, let’s type the following in our compiler: import random

  15. Python Password Generator • Step Three: • Let’s make our first variable: • Let’s make a variable that stores lowercase letters in it: Letter = “abcdefghijklmnopqrstuvwxyz” • ? - If I wanted to make a variable that had both lower and upper case, how would I do that?

  16. Python Password Generator • What your code should look like so far: import random letter = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" You’re doing GREAT!!

  17. Python Password Generator • Step Four: • We need to make 2 more variables. • number = “(your values)” • symbol = “(your values)” • The number variable should have numbers 0-9 and the symbol variable should have !@#$

  18. Python Password Generator • What your code should look like so far: import random letter = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ” number = "0123456789” symbol = "!@#$"

  19. Python Password Generator • ? - Why do we need letters, numbers, and symbols? • Password Rules: • Be 10-14 characters long. • Have lower and upper case letters, numbers and symbols.

  20. Python Password Generator • Step Five: • We need to make a variable for how long we want our password to be. • Remember: • The rules say between 10-14 characters long.

  21. Python Password Generator • Step Five (cont.): • Let’s name our variable ‘passlen’, and set it equal to a number value. passlen = ?? ? – How long should I make my password variable?

  22. Python Password Generator • Code So Far: import random letter = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ“ number = "0123456789“ symbol = "!@#$“ passlen = 12

  23. Python Password Generator • Step Six: • Creating a print variable and using the join function. • Remember: • Join() • This function allows us to join multiple parts together, like our variables we created, letter, number, and symbol.

  24. Python Password Generator • Step Six (cont.): • Example Code: “”.join(random.sample(x,y)) • “”.join(x) – means I want to use the join() function to create a new entry “”. • random.sample(x,y) – means I want to use the random function and take my variable x, and make it as long as y.

  25. Python Password Generator • Step Six (cont.): • The variables we have so far are letter, number, and symbol • Step 1: • Make a variable p • p = ?? • Step 2: • Type the following: • p = “”.join(random.sample(x+y+z, a)

  26. Python Password Generator • Step Six (cont.): • Step 3: • Replace x with ? • Replace y with ? • Replace z with ? • Replace a with ‘passlen’ • Your code so far: p = “”.join(random.sample(letter+number+symbol, passlen))

  27. Python Password Generator • Code So Far: import random letter = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ“ number = "0123456789“ symbol = "!@#$“ passlen = 12 p = “”.join(random.sample(letter+number+symbol, passlen))

  28. Python Password Generator • Step Seven • We need to print our variable p • Easiest step • Type the following: • print p • Step 8 • Run your program!!

  29. Testing Our Passwords • Let’s see how hard it is to crack your new passwords you have made!

  30. Password Rules • Remember the password Dos and Don’ts: • Do • Do have at least 10-14 characters. • Do have letters, numbers, AND symbols. • Do change your passwords regularly. • Don’t • Don’t reuse passwords. • Don’t use personal information that is easy to guess. • Don’t use commonly used passwords.

More Related