Skip to content
Discussion options

You must be logged in to vote

The question is can every site connect to the database and create,update,delete data from my pocketbase?

Only those requests that satisfy the API rules of your collections will be able to perform the related action. If you haven't already, you can check https://pocketbase.io/docs/api-rules-and-filters/.


How can i restrict it only to my website 'https://testwebsite.com/'.

I'm not sure that I understand what do you mean. If PocketBase is exposed to a public address then everyone can make requests against the server. Once again, this is OK as long as you have configured properly the correct API rules.

You can restrict browser requests to your PocketBase web APIs by specifying a CORS ori…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by MuslemRahimi
Comment options

You must be logged in to vote
1 reply
@ganigeorgiev
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants