Is iptables enough security, if port 80 is the only unblocked port and apache is setup correctly?

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2010-04-07T20:53:16Z Indexed on 2010/04/07 23:23 UTC
Read the original article Hit count: 344

Filed under:
|

We are using PHP,MySQL,SVN, and Apache. I want to know if I assume the local subnet trusted, and allow all ports on our subnet using iptables, then allow only port 80 as open to "anyone". If it is "good security" taking that the subnet is trusted as a premise. This is also assuming good PHP code etc, and that apache is configured correctly.

This is using CentOS 5.

© Stack Overflow or respective owner

Is iptables enough security, if port 80 is the only unblocked port and apache is setup correctly?

Posted by Josh on Super User See other posts from Super User or by Josh
Published on 2010-04-07T21:29:14Z Indexed on 2010/04/07 21:33 UTC
Read the original article Hit count: 344

Filed under:
|
|
|
|

We are using PHP,MySQL,SVN, and Apache. I want to know if I assume the local subnet trusted, and allow all ports on our subnet using iptables, then allow only port 80 as open to "anyone". If it is "good security" taking that the subnet is trusted as a premise. This is also assuming good PHP code etc, and that apache is configured correctly.

This is using CentOS 5.

© Super User or respective owner

Is iptables enough security, if port 80 is the only unblocked port and apache is setup correctly?

Posted by Josh on Server Fault See other posts from Server Fault or by Josh
Published on 2010-04-07T21:57:19Z Indexed on 2010/04/07 22:03 UTC
Read the original article Hit count: 344

Filed under:
|
|
|
|

We are using PHP,MySQL,SVN, and Apache. I want to know if I assume the local subnet trusted, and allow all ports on our subnet using iptables, then allow only port 80 as open to "anyone". If it is "good security" taking that the subnet is trusted as a premise. This is also assuming good PHP code etc, and that apache is configured correctly.

This is using CentOS 5.

© Server Fault or respective owner

Related posts about security

Related posts about firewall