How to allow specific devices to access my web application on a local network

I have a web application on a LAMP server in a local network (no public IP) and I want that only two specific devices to access the web server. What is the more secure way to allows the access to only those devices?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Htaccess and only allow those two internal ip’s access?