Limit collection access to be only from backend

I want to disable collection access from frontend. Is it possible to access the collection only from backend side.
I found the same question in the forum but didn’t find the answer.
Link to the question: https://www.wix.com/code/home/forum/questions-answers/database-collection-permissions-question

Thanks

Hi,

You can change the collection permissions to not allow access to anyone, and use authorization suppression in the backend as described here:

Let me know if that answers your question.

Hi Tomer,

Thank you for the quick response. You answered my question.
I also understand that you are going to check why suppression didn’t work for the Admin role. I will follow this forum question: https://www.wix.com/code/home/forum/questions-answers/database-collection-permissions-question

Thanks,
Alexander