How can I protect my PHP script?
Caribou CMS can protect any existing PHP script with a simple piece of code that is inserted at the top of the file you'd like to protect. In your Caribou control panel, you simply select Content -> PHP Scripts and select which user groups that you would like to restrict script access to. Then, Caribou will generate your PHP code which should be copied and pasted into your file. If anyone attempts to access that page who doesn't belong to the user group(s) specified, they will be redirected to the account login page.


