developoor's blog

Kennwort Sicherheit mit PHP und Regex Prüfen

Was ist ein sicheres Wahl für Ihr Kennwort? Ihre Geburtsdatum, beliebte Star, Schule.. ? Keine davon, weil alle ähnliche Kennwörter viel zu einfach zu knacken sind.

Mein prinzip für ein sicheres kennwort ist einfach: Wenn man danach sucht Google darf keine einzige Ergebniss liefern. Sie sollten trotzdem nicht danach suchen, ohne Änderungen zu machen.

Ein gutes Kennwort sollte kleine Buchstaben, große Buchstaben, Zahlen und Symbolen enthalten.

Hier lassen wir es mit PHP prüfen ob das eingegebene Text genug sicher ist. Das ist ein Beispiel für Anfänger:

<?php
Syndicate content

CafeWebmaster.com(CW) is a free online community for webdevelopers and beginners. Anybody can share their code, articles, tips, tutorials, code-examples or other webdesign related material on the site. Newbies can submit their questions and reply to existing questions. CW does not guarantee or warrant reliability of code, data and information published on the site. Use the site on your own risk. The site takes no responsibility of direct or indirect loss or any kind of harm to its users. The site also doesn't take responsibility of infected files or source code with any kind of infection or viruses, worms, spywares, malwares, trojan horses. CW reserves the right to edit, move, or delete any of content for any reason.