this post was submitted on 23 Oct 2023
415 points (97.5% liked)

Ask Lemmy

25987 readers
1568 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

One chestnut from my history in lottery game development:

While our security staff was incredibly tight and did a generally good job, oftentimes levels of paranoia were off the charts.

Once they went around hot gluing shut all of the "unnecessary" USB ports in our PCs under the premise of mitigating data theft via thumb drive, while ignoring that we were all Internet-connected and VPNs are a thing, also that every machine had a RW optical drive.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 75 points 10 months ago (4 children)

One IT security team insisted we have separate source code repositories for production and development environments.

I’m honestly not sure how they thought that would work.

[–] [email protected] 25 points 10 months ago* (last edited 10 months ago) (1 children)

That's fucking bananas.

In my job, the only difference between prod/dev is a single environmental file. Two repositories would literally serve no purpose and if anything, double the chances of having the source code be stolen.

[–] [email protected] 9 points 10 months ago

That was the only difference for us as well. The CI/CD process built container images. Only difference between dev, test, and prod was the environment variables passed to the container.

At first I asked the clueless security analyst to explain how that improves security, which he couldn’t. Then I asked him how testing against one repository and deploying from another wouldn’t invalidate the results of the testing done by the QA team, but he kept insisting we needed it to check some box. I asked about the source of the policy and still no explanation, at least not one that made any sense.

Security analyst escalated it to his (thankfully not clueless) boss who promptly gave our process a pass and pointed out to Mr security analyst that literally nobody does that.

[–] [email protected] 20 points 10 months ago (1 children)

I’m honestly not sure how they thought that would work.

Just manually copy-paste everything. That never goes wrong, right?

[–] [email protected] 1 points 10 months ago

I mean, it's what the Security guys do, right? Just copy+paste everything, mandate that everyone else does it too, Management won't argue because it's for "security" reasons.

Then the Security guys will sit around jerking each other off about how much more secure they made the system

[–] [email protected] 11 points 10 months ago (1 children)

Could work if dev was upstream from prod. But honestly there would be no difference between that and branches.

[–] [email protected] 6 points 10 months ago (1 children)

Maybe it is a rights issue. Preventing a prod build agent of sorts to access develop code.

[–] [email protected] 4 points 10 months ago

Yeah....assuming that the policy was written "from blood" (meaning someone did something stupid).

But even then you can put other checks and balances in place to make sure that kind of thing doesn't happen.

This is such an extreme reaction though. Or the policy was made from someone dumb

[–] [email protected] 6 points 10 months ago

Yep doing that now. Not sustainable in the slightest. Im glad im not in charge of that system.