I have stored my JSON data in public_html but i want to access these in a secured way help need

Hello developer’s…
I am in a project of my client I have stored that .json data in public_html so that my app can read that json data. I want to access that data in a secured way using POST method please help me out. If you have any suggestion about this then please share with me. I will respect you suggestion.

You can, in a simple way, put in your app an encrypted Key and send it to your script and your script to verify this key. Only send json if this key is valid.

Or …

try using JWT.

Google ----> How protect my json in php :+1:

I have also thought this idea but I don’t know which type of script I have to write.