i want to secure my web-server from hackers. what are the ways for secure my web server? . I need tight security. without admin permission no one can not access or hack my web-server
closed as too broad by Adnan, NULLZ, Polynomial, Lucas Kauffman, Xander Jul 31 '13 at 13:53
There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.
Harden your operating system, harden your application server, securely develop your application, restrict user access, test your security controls.
As @polynomial says above, your question is very broad. Look at guidance from the above sites and identify what will work for your requirements.
Hardening RPM based distros link
Take a look at this guide if you are using Ubuntu 12.04 LTS Part 1
always keep in mind that security is a ongoing processs and that there is no final state!