Answer the question
In order to leave comments, you need to log in
How to hide/hide .json file?
Hello. The essence of the problem is as follows. I have created a python program using the gspread library. This library works with the API through a json file. For the script to work, the .json file must be on the machine where the file is run. I need to transfer my program to another computer, and hence the .json file too. But I don't want the data from this file to be available to someone else. How to hide or hide this file. There is an idea to add a function to the program script that would download this file to some hidden folder on the computer from under windows. Like C:\Users\USER\AppData\Roaming etc.
How can I do that?
Answer the question
In order to leave comments, you need to log in
Encrypt json. But in scripting languages, this is an almost useless task.
Another option is not to give the entire file to the user, but a part. For example, you have json stored on the server. The user runs the script, and at the request of the script, only the necessary data is received from the server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question