Everyone knows Linux is secure and there is no need of anti-virus to be installed. Has anyone wondered what makes Linux so much secure and free from mallicious software ?
Before that, lets see how these mallicious software code affect windows. Program from unknown , untrusted source is downloaded on to your system by some means and it starts executing. Handling this program is not under the control of user. It gets executed automatically and performs tasks harming system environment. In windows, all users are by default administrators and there is very little difference between a normal user and administrator. An open door to access everything on the system.
In Linux, everything is considered as a file i.e Devices, directories etc are all files and default permissions for a file is it can't be executed unless you change permissions using chmod command. So, none of the programs can execute all by itself and damage your computer. It also provides limited access to normal users, thus avoiding damage to system files. Only root user has access to all system files.
Before that, lets see how these mallicious software code affect windows. Program from unknown , untrusted source is downloaded on to your system by some means and it starts executing. Handling this program is not under the control of user. It gets executed automatically and performs tasks harming system environment. In windows, all users are by default administrators and there is very little difference between a normal user and administrator. An open door to access everything on the system.
In Linux, everything is considered as a file i.e Devices, directories etc are all files and default permissions for a file is it can't be executed unless you change permissions using chmod command. So, none of the programs can execute all by itself and damage your computer. It also provides limited access to normal users, thus avoiding damage to system files. Only root user has access to all system files.