website statistics
You are here: Home / Sample Content from WikiHow / Technology / How to Protect Linux Machine from the Web Attacks

How to Protect Linux Machine from the Web Attacks

While Linux is much less sensitive to various web attacks and has very few (if any) viruses that could be met in a daily work, it is a mistake to ...

How to Protect Linux Machine from the Web Attacks article provided by wikiHow. Content on wikiHow can be shared under a Creative Commons License.

While Linux is much less sensitive to various web attacks and has very few (if any) viruses that could be met in a daily work, it is a mistake to think that the Linux users do not need to think about the security. A very simple means can make a Linux machine much better protected.

edit Steps

  1. 1
    Never use the root account for any kind of work - just for the system maintenance and only as long as you need it. Use su to obtain the root rights only transiently, when required.
  2. 2
    Disable unnecessary services that you do not use. For instance, if you do not plan to access your machine remotely, disable ssh.
  3. 3
    Do not use telnet (use ssh) and ftp (use sftp). These two protocols are not safe and this is why they have the better replacements. If you do need to access your computer remotely via ssh, try to configure it to work on the non standard port.
  4. 4
    Never run your own web server like Apache Tomcat as root just because you need to open the standard web port. Use iptables for the port redirection.
  5. 5
    Remove all examples that may come with your web server or other web-related application. They may open additional security holes.
  6. 6
    Be careful when saving files from suspicious sources to the shared network folders or forwarding them to friends that may have Windows machines. Word or Excel documents still may contain viruses that are harmless for you but not for your partner with Windows operating system.
  7. 7
    Use a firewall.

edit Tips

  • There are tools that detect Windows viruses under Linux. This may sound funny, but if you are sharing files with Windows users, this may not be.

Register for a Demo Site
Photograph of a Desktop

Questions?

This Plone Demo site is maintained by Six Feet Up. Contact us with questions, suggestions, or to get your own Plone demo set up.