Ask coding questions

← Back to all posts
Hidden Files
h
HarperframeInc (455)

I need to hide a JSON file containing important credentials. I do not want to use .ENV files.

Using Python.

NOTE!!!!!: I said NO ENV File. I have to store a 150 Lined JSON File!!!!!!

Comments
hotnewtop
Yimmee (10)

i hate env. i have a MOVIES worth of data i need to shore in a folder, and.................... (crumbling sound)

ash15khng (723)

All the files except ENV files are publicly available for everyone to access if they have the repl link. Why do you not want to use ENV files?

HarperframeInc (455)

@ash15khng How do I store a 150 lines long JSON file in a ENV file? I have sensitive data and I cannot use a ENV file, as it would not work.

ash15khng (723)

@HarperframeInc You could try using an online database and putting your key in the ENV file?

HarperframeInc (455)

@ash15khng I don't think it's a good idea. My code will be more cluttered.

ash15khng (723)

@HarperframeInc Then I can't think of any other solution sadly.

HarperframeInc (455)

@ash15khng It's fine. I'll think of more solutions.