ubuntu - linux系统的安全性比windows好在那些方面?
伊谢尔伦
伊谢尔伦 2017-04-22 08:58:43
0
11
1076

求大神详细的解答下,或者谁有什么好文分享一下。

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(11)
Ty80

In fact, it is not that Linux, or more broadly speaking nix systems, are really more secure than Windows. The reason why the nix system is "safe" is because most of its users are power users and understand what they are doing before doing anything to the system. The reason why the Windows system is "unsafe" is precisely because of its wide range of users and its inclusiveness. When you want to support almost any type of task, it can be difficult to do everything when it comes to security. Moreover, Windows does not take the experience of ordinary users into account when dealing with many problems. For example, it does not make sense to tell a child who has just learned to play games on a computer that a certain program cannot run because it lacks a certain DLL. It is easy for users to have problems when they don't understand what they are doing.

Let’s talk about OS X alone. It is safe because of its closed source nature. For OS X, Apple has taken care of everything from hardware to system and even software, and has greatly restricted user behavior, which greatly reduces the probability of its users having security problems during use. Users who use OS X "as Windows" will find it difficult to make problems due to the limitations of the system and app ecosystem, while users who use OS X as a Unix system are less likely to make many basic mistakes.

Googled two articles:
OS X, iOS and Linux have more vulnerabilities than Windows.
Is Linux Really More Secure than Windows?
That’s not to say that the article is very comprehensive, but taking a look at the discussion below may be helpful for the subject to sort out his own doubts.

大家讲道理

Linux has strict and significant user rights management:

UGO(User Group Other): Related commands chmod chown

ACL (Access Control List): ACL related commands setfacl getfacl
ACL function: You can specify a permission for a certain file for a certain user.

selinux/apparmor (mandatory access control)
Mandatory access control function: You can specify which files the program can read, write or run, whether it can open network ports, etc.

Under the protection of these mechanisms, Linux will indeed be more secure.

For example, if the permissions of the /var/lib/mysql directory are
drwx------ mysql mysql
, then only the user named mysql or the root user can access the directory.

In terms of software installation, Linux distributions are generally installed through package management tools such as apt-get or yum. It can be said that the software sources maintained by these distributions are obviously more secure than the software downloaded by Windows users from the Internet. The source is safer.

Software upgrades and updates are also very convenient. For example, Ubuntu uses sudo apt-get update刷新软件列表,用sudo apt-get upgradeto upgrade software.

洪涛

It’s not that Windows is less secure than Linux, but that Windows drivers are worse than Linux drivers on an average basis; administrators who are proficient in Windows server security and ordinary developers under Linux still have technical skills. Question
For production servers, of course, Linux is still the first choice. It is convenient to find guides

左手右手慢动作

There is no difference between good and bad. Any system that has loopholes needs to be fixed. However, Windows has more software and programs and the probability of problems is much higher than Linux.
So it seems that Linux is easier to control and has better security.

左手右手慢动作

Hackers love to attack Windows more, so Windows seems to have more vulnerabilities

伊谢尔伦

Linux is a file system, and all operations are file-related, including IO. Linux file permissions are quite high. It is impossible to arbitrarily change files that do not belong to your own permissions. But under Windows, if the application we download is rogue, it can read the user's disk files at will, and even change them.

Ty80

In fact, the simplest reason is

Windows users are used to clicking "Yes" and "Next"

And linux users know when to sudo

刘奇

You won’t fall into the family bucket

小葫芦

Let me talk about an aspect that no one has mentioned. The basic software environment such as the package manager is complete and can easily solve the dependency problems in software installation and update. Furthermore, it can minimize the installation, minimize the installation, and minimize the installation. Important things Say it three times.

Except for the necessary software, there is no miscellaneous stuff on the server, so of course there are much less chances of problems.

阿神

Who said Linux is more secure?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!