lehrkraefte:blc:informatik:ffprg2-2023:authentifizierung

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lehrkraefte:blc:informatik:ffprg2-2023:authentifizierung [2023/09/19 10:58] – [Building Blocks] Ivo Blöchligerlehrkraefte:blc:informatik:ffprg2-2023:authentifizierung [2023/09/19 11:02] (current) – [Building Blocks] Ivo Blöchliger
Line 1: Line 1:
 +====== Authentifizierung ======
  
 +===== Building Blocks =====
 +  * https://www.php.net/manual/en/function.password-hash.php
 +  * https://www.php.net/manual/en/function.password-verify.php
 +  * https://www.php.net/manual/en/reserved.variables.session.php
 +  * https://www.php.net/manual/en/function.session-start.php
 +  * https://ofi.tech-lab.ch/2023/teach/76f5054a/authentification/
 +  * https://web.dev/sign-in-form-best-practices/
 +
 +Auf dem Server:
 +<code bash>
 +  cd
 +  cp -rv ~ivo.bloechliger/authentification .
 +</code>
 +
 +Auf dem Server im Ordner authentification:
 +<code bash>
 +php getHash-on-command-line.php
 +</code>
 +Das Script ''verifyPassword-on-command-line.php'' überprüft, ob das Passwort 'abc123' ist.