This library e.g. has (by far) most github stars and seems to me a 'backend side solution':
'Client side solutions' e.g.:
My question is twofold:
1) Is my division into backend vs client solutions correct?
2) When you have a client solution which using a router hides certain content, is this not a major security risk as the query brought all data (including 'classified' data) to local memory of the client. Can this not easily be compromised?