Toke_Ivo t1_j2d0wzf wrote
Reply to comment by Officialsparxx in ELI5: How web crawlers and other engines don’t constantly get infected with viruses? by Officialsparxx
Code is not self-executing. I know certain articles can make it seem like it, but the reason code is "self-executing" is really because your program is instructed to "download, read, and follow all instructions at <website>".
If you don't want or need that, you can just make a program that just downloads the page, without running the code. Or you can limit what code it can run.
Like, imagine a really stupid chef. You hand him a recipe and he makes the food. One day you hand him the recipe for a Molotov cocktail, and he blows up the kitchen. The issue isn't the recipe - it's the chef.
Viewing a single comment thread. View all comments