0

I've these details, exposed to many websites developed for me by me.

I use these to try sending notifications to my users/subscribers. But I was thinking if someone evil gets these key, what can they do.

const firebaseConfig = {
  apiKey: '----xxxx--------',
  authDomain: '----xx-----',
  projectId: '---x-----',
  storageBucket: '----x----',
  messagingSenderId: '----x----',
  appId: '---x----',
  measurementId: '---x----',
};

initializeApp(firebaseConfig);

const vapidkey = '--xxxx--';
Danial
  • 542
  • 2
  • 9
  • 24

1 Answers1

2

There is no problem, indeed is needed to comunicate with yout service. You can take a look a this response:

https://stackoverflow.com/a/38860737/7414755

Rober
  • 71
  • 1
  • 5