I have a straightforward next.js website using firebase in which users can save notes about their day. Once they create a note, I redirect them to a page showing the note's content. Since I'm using next.js, I was thinking of using static generation for those pages, but that would mean I cannot authenticate the users accessing the page.
So, would be using the autogenerated document ID in the URL, like /note/uo7darDLMgbjtMBl3FgD
, prevent other users from accessing it?
I'm worried someone might be able to infer some URLs from knowing the site uses firebase or be able to find all static pages with some form of a brute-force attack.
The data is private but doesn't contain any health or banking information. It's just more or less personal notes about people's day.