Locking down your API_KEY and why that is important

Locking down your API_KEY and why that is important

Do you leave your keys inside your car in a big parking lot? If not, then why do you expose your API_KEYs in your Github projects?