News for hackers. Stuff that matters.
Re:We posed as 100 Senators to run ads on Facebook. Facebook... by hawkice on Wednesday October 31, 2018 @07:21AM (#18344758)
Holy smokes I just had flashbacks to working at a place that tested things in production and ended up with a couple of these production-db IDs in the code. Shudders
Re:We posed as 100 Senators to run ads on Facebook. Facebook... by pavel_lishin on Wednesday October 31, 2018 @09:31AM (#18345475)
Your codebase only has a couple?
Re:We posed as 100 Senators to run ads on Facebook. Facebook... by hawkice on Wednesday October 31, 2018 @06:48PM (#18349856)
You're already hitting a database, you can add a column for whatever information you want. I've heard people are spooked by having too many columns, but more spooked than having essentially untestable production IDs in their code? No thanks.
Re:We posed as 100 Senators to run ads on Facebook. Facebook... by beobab on Thursday November 01, 2018 @06:36AM (#18352564)
I remember one place I worked, someone released code which only returned data permissions for the test user (id 5).