If your Caspio app shows data to anyone who has the link, you need authentication. Caspio’s built-in authentication lets users log in and — more importantly — lets you show each user only their own records. Here’s the complete setup.
Step 1: Create a users table
Create a table (e.g. tbl_Users) with at least: UserID (unique), Email, Password, and Name. Add a Role field if different users need different access (Admin, Manager, User).
Step 2: Create the authentication object
In Caspio Bridge, go to Authentications and create a new authentication. Select your users table, choose the login fields (Email + Password), and set the login page behavior (redirect after login, lockout after failed attempts).
Step 3: Protect your DataPages
Open each DataPage you want to protect and enable authentication on it, selecting the authentication you created. Unauthenticated visitors will now be sent to the login screen first.
Step 4: Turn on record-level security (RLS)
This is the step most people miss. In your report DataPages, enable the option to filter records based on the logged-in user — typically by matching a field in your data table (e.g. OwnerID or Email) with the authenticated user’s value. Now every user sees only their own data.
Step 5: Add a logout link
Add a logout link or button to your app’s header/menu so users can sign out properly. Caspio provides a logout URL for each authentication.
Common mistakes to avoid
- Storing plain-text passwords — let Caspio handle password fields properly; never store readable passwords in a normal text field.
- Forgetting RLS on details/update pages — protect every DataPage that reads or writes user data, not just the main report.
- Testing with one user only — always test with at least two different users to confirm each sees only their own records.
Need a secure Caspio app?
We set up authentication, user roles and record-level security for Caspio applications of all sizes. See our Caspio services or get in touch.
Related: Caspio REST API Integration: Beginner Guide with Examples
