>how to deny access to all users except a few for port 80 for my red hat computer ?
I'm unsure how you want this this done. There's a few ways to go about this.
1: Go about using the kernel firewalls, and block everything coming in except what you request. Then allow connects from Client IP's. If the clients' IP addresses are static, this would be the best solution.... It'll block everything off at the kernel level (before your web server even sees it).
2: If you're running Apache, you can set an .htaccess file at the root of your server. This is a WHOLE LOT EASIER as you dont have to muck around in kernel space. This document will help you set up the password files to do this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.