Thank you for following up on your message. I will do my best to try and answer your questions:
The in5 WordPress plugin is a tool that makes it easy to upload and display your in5-exported HTML content inside WordPress without needing FTP or coding skills. The plugin handles the following for you: it uploads (automates the ftp process) your exported ZIP file from in5, unpacks the content into WordPress, and automatically embeds it in your post or page using an iframe.
An in5-generated web app is a complete, standalone, self-contained digital experience of an app that simulates a full-screen browser experience without the browser header and buttons, but created with InDesign. It's meant to be opened directly in a browser or uploaded to a server and shared via a link, not embedded in an iframe. Embedding a web app in an iframe doesn't make sense for several reasons: it limits the user experience by constraining size, blocking scrolling, or preventing features like fullscreen mode from working properly; it breaks web app behavior since web apps need full browser capabilities like history, deep links, and responsive layout, while iframes isolate content like putting an app inside a locked box; and it doesn't actually prevent sharing since anyone can view source or inspect the iframe to grab the link to the standalone app anyway. Here is more information on in5-generated web apps.
The in5 WordPress plugin and the in5-generated web app do not rely on PHP logic. The plugin is simply a convenience tool that unpacks your in5 ZIP export and embeds it in a WordPress post or page using an iframe. It does not generate or execute PHP code to display the content. Similarly, the in5 export itself is a fully self-contained HTML5 package that includes HTML, CSS, JavaScript, and media files. This package runs entirely in the browser and functions independently of any server-side language, including PHP. Whether your server is running PHP 7, PHP 8, or no PHP at all, the in5 content will behave exactly the same.
It sounds like you are looking for a way to control access to your in5-generated content based on user purchases or membership. This type of functionality is typically handled by an eCommerce platform or membership system, rather than by in5 itself. While in5 creates the interactive content, managing who can view or download that content requires a system that can authenticate users, handle transactions, and protect file access. WordPress offers many plugins for this purpose, including tools for digital product sales, gated content, and secure file delivery. Integrating your in5 content with one of these systems can help you achieve the secure, purchase-based access model you are looking for. Here is an Ajar Academy course we have on creating a membership site with in5.