[-] lemmy_in@lemm.ee 39 points 3 weeks ago

And then, because you were never in a classroom and never took a class on security, you probably have no idea what a buffer overflow attack is or how to use tools like valgrind to check for them.

Then you put your C code on the internet and get your server pwned inside of an hour.

Slightly hyperbolic? Yes definitely. But there is a reason we don't teach C to beginners anymore. Generally you want them to understand the mindset of coding before throwing them in the deep end. And I would bet nothing has caused more people to quit programming then Segmentation fault: core dumped

[-] lemmy_in@lemm.ee 5 points 1 month ago

Pick a popular online service with a public API and write some scripts that integrate with them. Learn by doing.

[-] lemmy_in@lemm.ee 10 points 1 month ago

In my (non-expert) opinion, there are a few reasons

  1. NPM is more popular than those other services by an order of magnitude, especially among new developer and startups.
  2. NPM allows for code to be executed while you install the package which is different from maven or nuget and allows for easy exploitation paths
[-] lemmy_in@lemm.ee 82 points 1 month ago

This works until you scale the team beyond 1 person and someone else needs to decipher the 30 line awk | sed | xargs monstrosity you created. Give me a real programming language any day.

[-] lemmy_in@lemm.ee 6 points 2 months ago

Mods of communities can already see votes in communities they moderate. Admins of instances can already see votes on all content.

[-] lemmy_in@lemm.ee 10 points 2 months ago

There are a few ways that the court can get this money. Disclaimer I am not an expert in bankruptcy law.

The most obvious one is what you said. The court can order the company's assets to be liquidated and then the proceeds of the sales would be distributed proportionally among the creditors.

Next they can go after the perpetrators like Sam Bankman-Fried and his crew. If they have any personal assets that they acquired as a result of their criminal activity at FTX, the court may be able to take some of that money to pay creditors.

Lastly is "clawbacks". Let's say you invested $1,000,000 in FTX and you were one of the lucky ones and happened to withdraw $10,000,000 in proceeds during the height of the scam. The court could claw back up to $9,000,000 from you since all of those proceeds were the result of a scam, even if you had no idea that FTX was shady. This is typically how the courts recover money from ponzi schemes like Bernie Madhoff

[-] lemmy_in@lemm.ee 10 points 3 months ago

So long as you have robust data sanitization on the backend to prevent XSS and HTML injection attacks...

If you can get away with just using Markdown, you should definitely use that instead of full HTML.

[-] lemmy_in@lemm.ee 42 points 8 months ago

It's perfectly normal for your computer to have daemons.

[-] lemmy_in@lemm.ee 23 points 8 months ago

You should definitely set up a DMARC record to prevent other people from using your email domain to send spam. If you don't have DMARC configured, other email servers will give any senders the benefit of the doubt and accept mail that claims to be from your domain.

You can just set the DMARC record to reject 100% of unverified mail and call it a day. Since you aren't sending anything it won't affect you.

[-] lemmy_in@lemm.ee 8 points 9 months ago

The ideal solution is to have one identity provider and then use Single Sign-On (SSO) to authenticate your users to all of their other apps. All of the big identity providers (Microsoft, Google, Okta, etc) support security keys.

I recognize that it might not be feasible to use SSO for all of your apps as a small business; a lot of SaaS platforms unfortunately charge extra for SSO. That being said my advice would be use SSO whenever possible for your apps and include SSO availability in your decision-making process for purchasing new software.

For those apps that do not support SSO, my advice would be to either compensate employees for using their personal devices for work or give them corporate devices that are only used for work things.

[-] lemmy_in@lemm.ee 5 points 9 months ago

According to all known laws of aviation, there is no way that Dumbo should be able to fly. Its ears are too small to get its fat little body off the ground. Dumbo, of course, flies anyway. Because Dumbo doesn't care what you think is impossible.

[-] lemmy_in@lemm.ee 41 points 10 months ago

The term is metonym. It is when you use a characteristic or associated attribute of a thing as the name of that thing. A classic example would be "the crown" when talking about the monarch or "The Whitehouse" when talking about the president.

view more: next ›

lemmy_in

joined 1 year ago