OT: json data files - open to view
I have a question as I'm testing out workflows which will see me now using json data returned from a json file converted from a php file database query.
It seems anyone looking at the source code - process_json_data.php - can be viewed directly, revealing the json data. Don't worry I won't be using json for any sensitive information such as passwords/usernames and email address. However say I have a delivery business and I want to allow users to keep up-to-date with an order progress - aint it infringing the personal information regulations if the json file shows what was ordered, by who, at what time, price, the route of the delivery and the final address of the delivery, I think so.
Is there a workflow which allows the php file to process and convert into json data but show nothing if a user goes directly to the proccesing page?
Humm
Os.
