| | |
Apache server - prevent outside access
![]() |
•
•
Join Date: Nov 2008
Posts: 54
Reputation:
Solved Threads: 0
I've been testing a few PHP scripts on an Apache server with Apache 2.2, the latest version, and a PHPMyadmin.
Currently I'm running MediaWiki and a PHPbb board, with testing content.
I want to prevent access from the outside world, how would I do this??
Currently typing my IP address doesn't actually show any content of the server, nothing actually shows up, or "this document contains no data!" when viewing it in Firefox, so I assume I am relatively safe.
Please can someone help me with this, thanks!
Currently I'm running MediaWiki and a PHPbb board, with testing content.
I want to prevent access from the outside world, how would I do this??
Currently typing my IP address doesn't actually show any content of the server, nothing actually shows up, or "this document contains no data!" when viewing it in Firefox, so I assume I am relatively safe.
Please can someone help me with this, thanks!
•
•
Join Date: Jun 2008
Posts: 563
Reputation:
Solved Threads: 34
I'm going to assume this is a strictly test system, with no running webpages running...
Just make sure the necisary ports aren't forwarded to your system and/or set your firewall to block them. If there's no domain pointed at your site the odds of it being scene are pretty low too, as somebody would have to be looking at your public IP to find it.
Just make sure the necisary ports aren't forwarded to your system and/or set your firewall to block them. If there's no domain pointed at your site the odds of it being scene are pretty low too, as somebody would have to be looking at your public IP to find it.
-This post is provided without warranty, emotion, or a conscience. Hope it helps-
*I'm an egomaniac: I love reputation points*
*I'm an egomaniac: I love reputation points*
•
•
Join Date: Nov 2008
Posts: 54
Reputation:
Solved Threads: 0
•
•
•
•
I'm going to assume this is a strictly test system, with no running webpages running...
Just make sure the necisary ports aren't forwarded to your system and/or set your firewall to block them. If there's no domain pointed at your site the odds of it being scene are pretty low too, as somebody would have to be looking at your public IP to find it.
I'm using it as a testbed before I transfer stuff to another webserver.
•
•
Join Date: Aug 2007
Posts: 189
Reputation:
Solved Threads: 14
Leave MySQL user scope restricted only to localhost and/or 127.0.0.1, always create and use a different mysql user per database/site to avoid using root (if your mysql account is compromised e.g. through the configuration file stored in your web server, the user will not be able to drop all databases).
Last edited by martin5211; Apr 14th, 2009 at 6:00 pm.
![]() |
Similar Threads
- PHP & Apache Server Security Questions (PHP)
- [ Multii-Server ] Uploader .. [how?] (PHP)
- "Forbidden / You don't have permission to access / on this server." error (Linux Servers and Apache)
- Auto replace hotlinked Image Javascript? (JavaScript / DHTML / AJAX)
- URGENT: JSP - StackOverFlow Error (JSP)
- This Should be Easy for You Guys! (Linux Servers and Apache)
- Securely Allow users to add to Database (PHP)
- xp remote desktop across wan/lan (Windows NT / 2000 / XP)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- adware.mainsearch - how do you get rid of it? (Viruses, Spyware and other Nasties)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: Breaking News: IBM Buys Linus Torvalds
- Next Thread: httpd-vhosts.conf isn't accepting new vertual hosts!
| Thread Tools | Search this Thread |
.net apache apple asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm java jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





