# Allow-List

*noun*

say it: **“uh-LOW LIST”** **/əˈlaʊ lɪst/**

A list of the only items permitted, such as approved websites or fields, with everything not on it refused.

## What is an **allow-list**?

An **allow-list** names the only things that are let through and refuses everything else: the fields a request may change, the file types an upload may be, or the origins that may call an API.

```javascript
const allowedOrigins = ["https://coffeeclub.example", "http://localhost:5173"];
app.use(cors({ origin: allowedOrigins }));
```

## In a sentence

- “The upload route checks the file type against an **allow-list**: JPEG and PNG only.”
- “With an **allow-list** of origins, only the club's own site may call the API from a browser.”

Level: Apprentice · [More Web Development terms at this level](https://www.ask-codey.com/glossary?category=web-development&level=2)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/allow-list
