I've been recently chatting with another homeland PHP addict, and we were discussion about security -- and "Security through Obscurity" to be exact.
I've been thinking a lot about obscuring some parts of my code. What comes to obscurity, it makes your application harder to code due to many factors. For example if your fieldname is "dfg4rtSDFkgcvbF" it's definetly harder to remember later than "username". That's just one example.
Obscurity does not add security, but it strengthens it. However, the price of obscurity can be probably seen at the speed of the progress of your project.
After a little thinking I started to think if I write these certain parts of my script in a foreign language - Finnish. There are only 5 million Finnish speakers in this world, so it does strengthen the security by a meaningful amount. Still, I am able to code as fast as normal, and I does not affect anything else. At least not to me - but no one else other than me is coding on the project core, but rather a few outside plugins that are not affected by this obscurity method.
For example, the member table would have fields like tunnari,salari,soossi,mauste,kertapadi, ... and this would not just apply to the database.
All comments would be also unreadable for attackers unless they are fluent in Finnish.
// Ny sit pistetää kerran paddaus eli söössi tähä tunnarii nii että me suojau'utaa sateenkaarihyökkäyksilt
And trying to translate from Finnish to English is a pathetic attempt.
Your thoughts?
EDIT: It would actually probably even boost the speed of coding.