Main Street AI ResourcesFree. No sign-up needed for this guide.
Resources / Main Street Security / Level 3, step 14

Level 3 of 3 · step 14 of 18

Require a key or login on every API, including the ones only your own app calls

Hidden addresses get found. Every one needs a lock.

Time it takes: A conversation with your developer

Why this step matters now

An API is the back door your website or app uses to fetch data. Builders often leave the ones "only our app uses" open, assuming nobody knows the address. Scanners and AI tools find them by reading your site's own code.

Ask your developer to

  1. List every API address the site and apps call.
  2. Require a login or key on each, and check the person asking may see that record, not just that they are signed in.
  3. Add limits so one visitor cannot pull your whole customer list.
  4. Keep secret keys on the server, never in the website's code.

Message whoever runs your website, app or AI tools

Send it to: Your web developer, IT company or the person who set up your AI tools. Change any word you like.

Can you check six things for us this month? 1. Every test or staging copy of our site asks for a login, or is deleted. 2. Every API we use requires a key or login, including internal ones. 3. Each AI agent or document search tool can reach only what its job needs, and a human being approves anything it sends, pays or deletes. 4. Secret scanning is on for our code, with no working keys in its history. 5. Any key that leaks gets changed the same day. 6. The office router has no unused port forwards, and UPnP is off. Tell me which ones are done and what the rest would take.

If something goes wrong, try this

How you know this step is doneEvery API refuses a request that has no valid login or key.

If this helped, send it to another business owner you would hate to see scammed.

See more tips like this. I send new ones as I make them, each a link back here. Unsubscribe anytime.