capabilities.work

Password-protect a path on a site

One step with Laravel. We can help you get access.

Get something done

Password-protect a path on a site

with Laravel

Use Laravel: its Forge Security Rules API lets you password-protect a path on a site in a single step (POST /orgs/{organization}/servers/{server}/sites/{site}/security-rules). capabilities.work can help you get signed up and connected.

  • How do I put basic auth in front of my staging site?
  • Can I protect only one path of a site with a username and password?
Say it to your AI assistant
  • Create security rule {name} on site {site} on {server} in {organization} with credentials {credentials}.
  • Password-protect {path} on site {site} ({server}, {organization}) as rule {name} using {credentials}.
For your developer

POST /orgs/{organization}/servers/{server}/sites/{site}/security-rules in Forge Security Rules API. Full spec on APIs.io.