# Authentication & Authorization

__Kato täältä esimerkki__

* Authentication: Verifying that you are indeed you
* Authorization: Determining access rights based on your privileges
* If you don't restrict access to your endpoints, something like  [this](https://mastodon.gamedev.place/@badlogic/111246798083590676)   [might happen](https://firesky.tv/) !!!
* Tee loput luennot tän esimerkin mukaan:
  * [https://www.c-sharpcorner.com/article/jwt-token-creation-authentication-and-authorization-in-asp-net-core-6-0-with-po/](https://www.c-sharpcorner.com/article/jwt-token-creation-authentication-and-authorization-in-asp-net-core-6-0-with-po/)

Esimerkkisisältö: Tehtävänanto

* Make a simple HTML website using the template from the previous slide, so that it contains paragraphs, headings, images and links.
* Add at least two links; one remote and one local.
  * How would you make an image to be a link?
* Later on, we will add more stuff to the site.
