For security reasons, I would like to install the admin (back-end) of my website on a different server than the front-end server (www).
The front-end server uses PHP objects that will be required in the back-end in order to work properly (obviously).
What should I implement in order to be able to use on the back-end server a class that has been uploaded on the front end server?
As of right now, the only solution I can think of is to upload the class files on both servers but I don't know if it really is a reliable solution.
Thank you.