Live data from Hacker News

I “found” the database of a college app (2018)

yoginth.com

1–10 of 107 posts

Re: I “found” the database of a college app (2018)

#4

Is there any way to hide keys from the extractions? I tried it before and ended up to find that users can do that if they really want to.

No, but I think the idea is to create a web API that connects to the database instead of having the phone connect directly to it.

Re: I “found” the database of a college app (2018)

#5

Is there any way to hide keys from the extractions? I tried it before and ended up to find that users can do that if they really want to.

No, you can only obfuscate it but the correct way to do this is to limit the access scope of the access key.

Re: I “found” the database of a college app (2018)

#7

Is there any way to hide keys from the extractions? I tried it before and ended up to find that users can do that if they really want to.

I think we can't hide keys up to my knowledge!

But make sure you just switched firebase to production mode.

In my case, the firebase was in development mode and the data is available public!

https://yoginth.com/college-hack#mitigations

Re: I “found” the database of a college app (2018)

#8

Is there any way to hide keys from the extractions? I tried it before and ended up to find that users can do that if they really want to.

I'm not a mobile dev, but aren't there utilities like KeyStore for this?

https://developer.android.com/training/articles/keystore.htm...

Re: I “found” the database of a college app (2018)

#9
post #8

Is there any way to hide keys from the extractions? I tried it before and ended up to find that users can do that if they really want to.

I'm not a mobile dev, but aren't there utilities like KeyStore for this? https://developer.android.com/training/articles/keystore.htm...

Well, the trick is that using a KeyStore ensures that the key doesn't leak into the application (but is only used for cryptographic operations in a trusted environment).

However, you would need the plain key to authenticate against the database so using this wouldn't work.

Re: I “found” the database of a college app (2018)

#10
post #9
post #8

Earlier quoted context omitted.

I'm not a mobile dev, but aren't there utilities like KeyStore for this? https://developer.android.com/training/articles/keystore.htm...

Well, the trick is that using a KeyStore ensures that the key doesn't leak into the application (but is only used for cryptographic operations in a trusted environment). However, you would need the plain key to authenticate against the database so using this wouldn't work.

Gotcha, I see the problem now.
Post reply on HN