19

Let's teach the class about security. OK *spends 1.5 hr teaching about encryption and practices* OK now students make a login page and just store the passwords in a JavaScript array....... *Facepalm*

Comments
  • 4
    Isn't that why most people recommend you just let someone else manage the passwords if you can avoid it at all?

    Also, welcome!
  • 3
    @Rekonnect yes you should but we still wanted to teach these students about encryption in case they ever needed it. And thank you
  • 4
    Oh yeah. Def teach secure practices and encryption. But in a real production thing, I'd just use log in with (X site) that way I don't have to worry about password storage liability lol
  • 2
    Fail them?
    Because that's worthy of a failure.
  • 1
    @Ashkin oh yes, yes it is. But recently saw another project turned in. They were storing the password in a hidden html div
  • 3
    @programmerdave ... just. Wow.
  • 1
    @Ashkin yes my keyboard used to have 2 keys, 0 and 1, now it's just a zero
Add Comment