Skip to content

Is the proxy preferred for all client-side/native apps? #2455

Answered by thomasheartman
ktos asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, @ktos and welcome back 🥳

That's a good question about the proxy. In terms of binaries that run on end-users' devices, we do generally recommend using the proxy, yeah. The reason is that if you use a server-side SDK, then it'll receive all toggles from Unleash when making API calls, which could potentially expose features and configuration you'd rather keep to yourself. This includes constraints, payloads, etc, that you send from Unleash, which could expose sensitive information. The proxy clients take a different approach where they only get the list of toggles that are enabled for the current user context, and therefore only know about what the user gets to see.

Taking that into con…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ktos
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
2 participants