Skip to content

Limit HTTP access using CORS or secret key? #372

Answered by benallfree
calebfaruki asked this question in Q&A
Discussion options

You must be logged in to vote

Right, CORS is no good for that.

You can accomplish a secret key using the PocketBase JS hooks custom middleware https://pocketbase.io/docs/js-routing/#custom-middlewares

We are also considering adding an IP whitelisting feature, would that be useful for you?

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@benallfree
Comment options

@calebfaruki
Comment options

@benallfree
Comment options

@benallfree
Comment options

@calebfaruki
Comment options

Answer selected by calebfaruki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants