background preloader

WebServer

Facebook Twitter

Add A Username & Password To A Directory In Apache. Authentication, Authorization and Access Control. Authentication is any process by which you verify that someone is who they claim they are. Authorization is any process by which someone is allowed to be where they want to go, or to have information that they want to have. For general access control, see the Access Control How-To. Introduction If you have information on your web site that is sensitive or intended for only a small group of people, the techniques in this article will help you make sure that the people that see those pages are the people that you wanted to see them. This article covers the "standard" way of protecting parts of your web site that most of you are going to use.

Note: If your data really needs to be secure, consider using mod_ssl in addition to any authentication. The Prerequisites The directives discussed in this article will need to go either in your main server configuration file (typically in a <Directory> section), or in per-directory configuration files (.htaccess files). AllowOverride AuthConfig Realm Require ip. Default Servlet Reference. Sécurisation d'un serveur Apache. Apache est un serveur web très populaire, performant, et sa conception modulaire le dote d'une grande richesse fonctionnelle.

Découvrez comment le sécuriser et le rôle de ses modules. Le serveur... Vivons heureux, vivons caché! Il est très facile de découvrir quel serveur tourne sur un site web comme le montre l'exemple suivant : $ telnet localhost 80 Trying 127.0.0.1... Un pirate apprend que le serveur Apache tourne sous une distribution RedHat et que les langages Perl et PHP sont actifs. Cela ne suffit toujours pas à masquer la version d'Apache : si vous demandez une page inexistante, Apache renvoie une page d'erreur 404 avec en bas de la page, le message Apache/1.3.14 Server at www.mon-serveur.org Port 80 qui révèle la version du serveur d'Apache. Limitations contre les DoS Exemple pour un petit serveur : MaxClients 150 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 Bien définir un virtual host <VirtualHost 194.57.201.103> ServerName www.esiea.fr ... Gérer ses fichiers de log. Open a Port in Windows 7’s Firewall — MAXIMUMpcguides – Windows 7 tips, tricks, help, and how-to guides.

In this example I’m going to allow all traffic requesting port 80 (the default HTTP “web” port) through. Open a Port in Windows 7’s Firewall Open Control Panel from the Start menu.Select Windows Firewall. Note: If Windows Firewall is not available, change View by to Large icons at the top right of the Control Panel window.Select Advanced settings in the left column of the Windows Firewall window.

Select Inbound Rules in the left column of the Windows Firewall with Advanced Security window. The port is now open and ready to be used. Well known ports Here is a list of the most common ports used: View all 50,000 ports. Still need help? Related Guides: Managed DNS | Outsourced DNS | Anycast DNS. Créer son propre serveur pour héberger son site web - Internet-Reseaux. Geek to Live: How to set up a personal home web server.