I’m going to be making a website pretty soon who will be manipulating some sensitive information. I am thinking about doing it with a django project. I am a free user, i don’t pay glitch pro. I would like to know, if i make a django database with sensible information from some of my users, will people be able to access / see it. For example if they remix the project, will they have access to the information in the database. I wouldn’t like to give out all my users info.
Hi @Cyp_10 - we have a help doc right here about adding private data, I think in your case you’d want to keep the database in the
.data folder: https://help.glitch.com/hc/en-us/articles/16287550167437-Adding-Private-Data
This folder is private, not remixable – and that applies to all users, not just Pro. You can see this in action with our sqlite starter, Glitch Hello Sqlite - the
src/sqlite.js file shows how we keep the database file in the
Thank you so much!
@jenn So i could put my django database in the .data folder right and it wouldn’t be remixed and accessible?
Yep, that’s correct!
By the way, if you’re looking for a Django related example, you can read into what @simonw has done with Django on Glitch with his Datasette project that puts its sqlite database in
.data: Running Datasette on Glitch
Thank you, i’ll have a look at it!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.