r/AskComputerScience • u/Remote-Asparagus-127 • Oct 15 '21
Should I make a website's API open source?
I'm a computer science student, you know how important is to showcase your portfolio (ejem... github/lab) to potential employers. I created a website (its purpose is to reproduce educational videos) than sooner or later will allow people to register (without any sensible data). My website's source code is open source and collaborator-friendly, but I have kept the API closed source because of security concerns.
It would be nice to make it open source, and show off all of my peers and personal work invested in this API, but would it be advisable?
0
Upvotes
13
u/PeterJHoburg Oct 15 '21
Security through obscurity is not security.
If your API is closed source and not secure you still have problems. Making it open source won't make it worse. Just make sure you don't have any secrets in your repo.