👀 See Sanity in action: Watch product demo now →

Storing Read-Only User Data in Sanity Data Store

5 replies
Last updated: Jul 7, 2021
Hello, do you have any thoughts in regard to Sanity Data Store? I was wondering about storing user data there like user details, or their progress made with content served from Sanity. At least for now it's not anything big nor complex, CRUD stuff. I wanted to approach the issue with Postgresql on Prisma.js, but looking more into Sanity docs made me think if there is not a better solution already in place.Any thoughts on the subject?
Jul 7, 2021, 4:07 PM
Hi!Storing user data is definitely possible, but what I'm worried about is how to make sure that users can only access their data. And I don't see how I would implement this easily with Sanity.
🤔
Jul 7, 2021, 4:48 PM
Hi
user B
, I'm using Sanity for storing read-only data only at the moment. For authentication, user management and commerce, I'm using other databases. I think it's better to use a Sanity - database hybrid as database for bigger projects
Jul 7, 2021, 5:58 PM
user A
your recommendations please..
Jul 7, 2021, 6:17 PM
Thanks a lot for your input guys 🍻
Jul 7, 2021, 7:02 PM
Means a lot
Jul 7, 2021, 7:02 PM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.