I have a few pages with custom forms that interact with a database on the backend. However; none of the plugins that were meant to embed your PHP code inside of a Joomla article worked well enough. (They could not perform update queries.) In the end, the only reasonable thing was to create a few plain .php pages. However; these forms can be used to list tenants and their personal information. I need a way of restricting access to these pages to only registered Joomla users.
Is this possible? Alternatively, a library would also work fine. They do not need to be logged into the Joomla site for any reason other than these forms; so they could authenticate any other way. I just figured Joomla would be the easiest. Could it be as simple as placing the .php files inside a certain directory?