Separate editing from publishing
Saving work and making it public are different decisions. A draft should be absent from listings and the sitemap, and its detail URL should not reveal the body. Test all three paths. A hidden menu item alone is not a publication boundary.
Map access to server operations
List the actions that read or change a record, including direct URLs and form submissions. A visitor may read a published article while only an authenticated owner can update it. Check that boundary for each operation; the navigation menu is not an access-control mechanism.
Check permissions on every write
Authentication establishes who is signed in. Each operation must also enforce the necessary permission and validate the request. Server-side checks matter even when a button is absent. For cookie-based sessions, state-changing forms need protection against requests originating from another site.
Treat uploads as input
Restrict uploads to the formats the site actually supports, check the file contents and size, and generate safe filenames. Prevent execution in the uploads directory. A filename ending in an image extension is not proof that the contents are appropriate. Keep alt text editable so the image remains understandable.
Make mistakes recoverable
Confirm destructive actions, retain useful backups and explain how to recover a previous version. When multiple people edit, consider stale updates rather than silently overwriting someone else’s work. A small CMS can remain simple while still making its boundaries and consequences clear.
Check the URL as well as the interface
For a draft article, test the listing, the sitemap and a direct request to its detail URL. For an inquiry, test access without a signed-in session. These requests exercise the server boundary; hiding a link or disabling a button does not enforce it.
Example: two editing tabs
An owner opens an article in two tabs. The first saves a revised introduction; the second still contains the old version. A revision check can reject the stale save and ask the owner to reload. It helps prevent a common overwrite, but it is not a substitute for a complete collaborative editing system.
Keep recovery separate from access
A backup should be stored where public visitors cannot download it. It may contain unpublished copy or configuration even if the normal page is public. Document how the owner recovers content without exposing the backup as another media asset.