How secure is the id info in the Get Record logic?

Is it safe enough to store the firebase Document ID as static text or shall I store the ID in a pageVar as a best (safer) practice?


You may find this article useful: Security with Composer Pro - Best practices

Thanks, this link answers a couple of general questions but gives no concrete solutions.
In my specific case, I have no options but call that ID to retrieve the right document.