Files you sell, and who can open what

This manual is for LMS Blueprint 0.47.19

Core Complete 0.47.0

Two store screens go beyond selling a course: Entitled files sells access to files kept on your server, and Grants shows who can open which app, and why.

Entitled files

Open Store → Entitled files. Files in storage can only be opened by a signed-in account that bought a product unlocking them; anyone else is sent to sign in, or to your sales page.

Check the storage is closed

The Entitled files screen: Is the storage actually closed? with the storage checks, Re-apply protection and rebuild the list, and Check storage against an inventory.

The top of the screen answers Is the storage actually closed?

  • Closed means the web server refuses a direct request for a file, and the folder doesn’t list.
  • NOT closed means paid files can be reached without buying them. Press Re-apply protection and rebuild the list, then look again.

The table also shows where storage is, whether it sits inside the web server’s document root, how many files are in it and how many products unlock files.

Put files in, and check they arrived whole

Copy your files into the storage folder on your server, then press Re-apply protection and rebuild the list. To check the copy, paste a list under Check storage against an inventory, one file per line with its path and size in bytes, and press Check. Anything missing, the wrong size or not on your list is named.

Settings

  • URL prefix: every entitled file is reached under this address.
  • Storage folder: a folder inside your uploads. To keep files outside the web root altogether, define CB_FILES_STORAGE_DIR in wp-config.php instead; this setting is then ignored.
  • Where a signed-in visitor who has not bought is sent: a page that must exist.

Choose what a product unlocks

The Product Details box with the course, toolkit and downloads a product grants, and the apps a toolkit grants.

On a product, the Entitled files this product unlocks box takes one pattern per line. A path ending in / unlocks that whole folder. ALL unlocks everything in storage, including anything you add later and folders you meant to sell separately, so list the folders instead where you can.

Where buyers find their files

A buyer’s files are listed under Your library on their My Account page. To show the list on another page, add the shortcode [cb_files_library]. See What your students see.

Grants

The Grants screen with the user filter and the table of who can open which app and why (empty on this site).
Store → Grants, filtered by a username: who can open which app, and why.

Store → Grants answers who can open which app, and why: a purchase (with a link to the order), a grant made by hand, or an enrolment in a course whose toolkit includes the app. Type a user’s ID, email or username to see theirs. The screen is read-only.

Licence keys for your own software

Selling licence keys for software of your own isn’t part of Core or Complete: the store in those editions has no licence screen.