So I've got a netbook that I'm running Apache on, and I only want it to serve and talk to my desktop. I don't know much about securing a server, and don't want others able to access it.
So, how might I accomplish this?
So I've got a netbook that I'm running Apache on, and I only want it to serve and talk to my desktop. I don't know much about securing a server, and don't want others able to access it.
So, how might I accomplish this?
How would I set it to allow connections with my desktop?
Create a file named .htaccess in your document root.
Add the following lines to that file:
Replace desktop_computer_ip in the code above with the ip address of your desktop computer.Code:Order Deny,Allow Deny from all Allow from desktop_computer_ip
More info on this here: http://httpd.apache.org/docs/1.3/mod/mod_access.html
Bookmarks