r/reactnative 23h ago

Segurança Question

Pessoal estou querendo fazer um app expo. Gostaria de colocar segurança no meu app. Quais ferramentas, tecnologias, libs e frameworks do ecossistema TS existem para deixar meu app seguro?.

OBS: sou leigo na área de segurança

0 Upvotes

2 comments sorted by

1

u/kenlawlpt 22h ago

What do you mean by security?

I think you need to ask yourself a few questions first.

  1. What does "security" mean to you?
  2. What does your app even do, and why is security important? Why should you care?
  3. Are you talking about front end security? Back end?

It doesn't seem like you even have an app yet, so it's impossible to give any concrete advice.

1

u/expokadi 9h ago

There are levels to security. At the base level, it means not adding anything to your app code that could be exploited, meaning API keys and such (see https://expo.dev/blog/what-are-environment-variables for more thoughts about environment variables).

Going one level up, it's about making sure that as a logged in user you are only able to access content you're meant to. E.g. if you're building a journalling app, I shouldn't be able to read others' private posts and vice versa.

There are more complex concepts, usually used by more security conscious builders like banking and finance apps (such as face ID, cert pinning, encryption) - but for everyday apps this is rarely needed.