Ask coding questions

← Back to all posts
Hidden Files
HarperframeInc (456)

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!!!!!!

ash15khng (721)

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 (456)

@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 (721)

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

HarperframeInc (456)

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

ash15khng (721)

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

HarperframeInc (456)

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

Yimmee (31)

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