View Single Post
Old 01 August 2015, 15:14   #150
68k wisdom
meynaf's Avatar
Join Date: Nov 2007
Location: Lyon (France)
Age: 43
Posts: 1,935
Originally Posted by Mrs Beanbag View Post
yes you have said it many times, and it was wrong just as many times. Code can execute in a system with memory protection... but as soon as it tries to do anything such as writing to protected memory - boom! Segmentation fault. Process terminate. No harm done.
You don't get a seg fault when some nasty program starts deleting files on your HD.

Originally Posted by Mrs Beanbag View Post
Well this is true, but how do you prevent someone from doing so?
Oh, sorry. I forgot people's right to be stupid

Originally Posted by Mrs Beanbag View Post
Because i'm not constantly inviting strangers into my own home off the street all day. If i were, i would certainly want some internal security. A better analogy would be a guest house or inn, or maybe living above a shop. Customers come in, maybe i refuse to serve them if they look a bit dodgy... maybe i have a doorman, maybe i have a list of people who are banned. But i'd still want a lockable door between my own rooms and the guest area, where the customers - or websites - can stay a while.

Actually customers is not such a good analogy, either. It may not likely be the customers who do the damage. But maybe some of them have fleas... fleas with lasers controlled by the evil laser-flea overlord.
So what you have as a computer is called a server, not a home computer.

Originally Posted by Mrs Beanbag View Post
One bug we recently fixed in a client's (Windows) code was that it required to run from an admin account. Of course it didn't really need to at all, but it was storing its config files in the application directory. Windows users are of course used to only using an admin account, and approving of everything that asks for permissions. There must be a parable about this involving wolves, i'm sure.
Windows users use only a single admin account because they want something that works right away and doesn't annoy them.
meynaf is offline  
Page generated in 0.05390 seconds with 9 queries