Skip to content
← Back to Community
Hidden Files
Profile icon
HarperframeInc

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

Voters
Profile icon
26youj
Profile icon
Rae8
Profile icon
Thanatos31005
Profile icon
programmeruser
Profile icon
HarperframeInc
Comments
hotnewtop
Profile icon
ash15khng

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?

Profile icon
HarperframeInc

@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.

Profile icon
ash15khng

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

Profile icon
HarperframeInc

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

Profile icon
ash15khng

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

Profile icon
HarperframeInc

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

Profile icon
Thanatos31005

same problem

Profile icon
Yimmee

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