> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.myndr.nl/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Creating a blacklist & whitelist

By default, the Myndr Switch has handy categories with which you can set up the modes. On top of these categories you can now also allow or block your own websites, a so-called blacklist & whitelist.

Once you are [signed in](https://admin.myndr.net/auth/login-admin), you can start adjusting the modes. From your dashboard, click **the three dots** next to the switch you want to adjust. A submenu appears; then click the **Edit modes** button.

![](https://storage.crisp.chat/users/helpdesk/website/5d85cd828c1b4400/schermafbeelding-2023-07-25-om_1bnva6t.png)

You now see an overview with the categories on the left and the five modes on the right. At the bottom of the page you will find the blacklist & whitelist.

![](https://storage.crisp.chat/users/helpdesk/website/5d85cd828c1b4400/schermafbeelding-2023-07-25-om_zloe2g.png)

To add your own website, click the **Add** button at the bottom, in the section Own websites (blacklist & whitelist). A pop-up appears to create a new rule.

### Terms

The URL is the (full) website address, for example [`https://www.oefenen.nl/oefentoets/groep-8`.](https://www.oefenen.nl/oefentoets/groep-8.)
A (full) domain is the part of a URL (website address) between [`http://`](http://) and the next `/`, for example [`www.oefenen.nl`](https://www.oefenen.nl) in [`https://www.oefenen.nl/oefentoets/groep-8`.](https://www.oefenen.nl/oefentoets/groep-8.)
A root domain is the last part of the domain, for example [`oefenen.nl`](https://oefenen.nl).
A subdomain is a subdivision within a domain or subdomain and is formed by placing something in front of the root domain, with a dot in between, for example `leerlingen` in [`leerlingen.oefenen.nl`](https://leerlingen.oefenen.nl). But also `onderbouw.leerlingen` in [`onderbouw.leerlingen.oefenen.nl`](https://onderbouw.leerlingen.oefenen.nl), so a subdomain can itself have subdomains.

You can block a website using different criteria.

###### Full domain

Everything within [`www.oefenen.nl`.](https://www.oefenen.nl.) is blocked/allowed.
The subdomains (of `www.oefenen.nl`) are not blocked/allowed.

###### Domain ends with

Everything within [`oefenen.nl`](https://oefenen.nl) is blocked/allowed.
The subdomains are also blocked/allowed (for example [`www.oefenen.nl`,](https://www.oefenen.nl,) [`app.oefenen.nl`](https://app.oefenen.nl) or `intern.oefenen.nl`)

###### Full URL

The rule only applies to this full URL, so this can be one specific web page of a website, for example [`https://www.oefenen.nl/oefentoets/groep-8`.](https://www.oefenen.nl/oefentoets/groep-8.)

###### URL contains

All websites whose URL contains this value, for example `/games/` or `/oefentoets/`.

|| Please note! This can easily be abused. In the case above, a YouTube URL followed by `&nepvariabele=/oefentoets/` is also reachable if you whitelist this!
###### URL starts with

All websites whose URL starts with the value, for example [`https://oefenen.nl/oefentoets/`](https://oefenen.nl/oefentoets/)

###### URL ends with

All websites whose URL has this value at the end, for example `/oefentoets/toets-8`

|| Please note! This can easily be abused. In the case above, a YouTube URL ending in `&nepvariabele=/oefentoets/toets-8` is also reachable if you whitelist this!
To create the rule, choose one of the criteria above. Then fill in the value in the second field. Click **Ok** to add the rule.
In the overview you now see that the rule you just created has been added to the list. By default, this rule blocks in all modes; the whole row is filled with red stop signs. To make the rule allow instead, click the stop sign in the column of the corresponding mode. It now changes into a green tick. To apply the changes, click **Save** at the bottom right.

**Please note:** To apply the change on the students' devices, the browser needs to be restarted.
Are you making this change during the lesson? Close the students' web browser and start it again to fetch your change.
Are the students' laptops switched off at the time of the change? It will be applied as soon as the laptops are switched on again.

### In short

**sign in**
click the tile of the switch
click **edit modes**
at Own websites (blacklist & whitelist), click **Add +**
choose a **selection method**
fill in the value or URL
click **ok**
decide in which mode the rule is allowed
click **Save**

### Example 1 - Spotify in all modes except mode 1

Spotify falls into the Streaming audio category by default.
You are fine with your students listening to music while practising sums or other exercises. So you add Spotify as your own website and allow it to be available in modes 2 to 5.
That way your students can listen to Spotify without you having to make the whole Streaming audio category available.

![Adding Spotify](https://storage.crisp.chat/users/helpdesk/website/5d85cd828c1b4400/schermafbeelding-2024-03-05-om_1wns4lh.png)

![Spotify as a rule](https://storage.crisp.chat/users/helpdesk/website/5d85cd828c1b4400/schermafbeelding-2024-03-05-om_4v21qq.png)

### Example 2 - only the practice test

You want your students to take a practice test. They take this practice test via the website [`www.oefentoetsgroep8.nl`.](https://www.oefentoetsgroep8.nl.) You add this website and indicate that it is only available in mode 1.
Because you want to prevent your students from looking up answers, you make sure that no default category is available in mode 1. So you do not make the Educational methods available in mode 1.
That way they can only access the practice test. Handy! And is the test finished? Then you simply set the mode back to the default values.

![Setting up the practice test](https://storage.crisp.chat/users/helpdesk/website/5d85cd828c1b4400/oefentoets-1_cjlcbw.png)

![Practice test as a rule](https://storage.crisp.chat/users/helpdesk/website/5d85cd828c1b4400/oefentoets-2_v44dlc.png)