how to block ip so other people cant enter?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

how to block ip so other people cant enter?

Postby tachu » 24. May 2006 00:44

I want my xampp installation not be available on the web through my IP. How can I do this?
tachu
 
Posts: 11
Joined: 23. May 2006 22:46

IP Block

Postby Rhodesia » 01. June 2006 03:29

Use the built in .htaccess and .htpasswd under the security link to block all incoming connections, your localhost will still work, but others will be blocked unless they know your username and password.

OR

Set your router to send http port 80 to a non existent IP.
Last edited by Rhodesia on 01. June 2006 17:43, edited 1 time in total.
User avatar
Rhodesia
 
Posts: 13
Joined: 31. May 2006 05:02

Postby KingCrunch » 01. June 2006 03:41

[quote]Set your router to send http port 80 to a non existent IP[7quote]
Bullshit! (sorry) Setup your router, to NOT your port80 to anwhere
Nicht jeder Fehler ist ein Bug ...
KingCrunch
 
Posts: 1724
Joined: 26. November 2005 19:25

Postby Rhodesia » 01. June 2006 04:04

KingCrunch wrote:Set your router to send http port 80 to a non existent IP[7quote]
Bullshit! (sorry) Setup your router, to NOT your port80 to anwhere


Excuse me, my english not too good, but I havent the foggiest idea what the hell your eluding to ?

Login to your router, go to advanced, click port forwarding, either remap port 80 (the deafult http port) to a non existent ip within your LAN Ex. 192.168.0.145 (if your computers are not set as that routers ip then your no worries) The browsers pages will return a not found server error. Dont get yer sheet in a knot KingMunch!
User avatar
Rhodesia
 
Posts: 13
Joined: 31. May 2006 05:02

Postby Naneau » 04. June 2006 13:18

create a file called .htaccess in the directory you want to block users from. Put the following code in there:

Code: Select all
order allow,deny
deny from 123.45.6.7
deny from 012.34.5.6
allow from all


(substitute ip's with the ones you want to block). You could also reverse this, and use:

Code: Select all
order deny, allow
allow from 123.45.6.7
allow from 012.34.5.6
deny from all


which blocks everyone BUT the ips specified. Good luck!
Naneau
 
Posts: 14
Joined: 18. May 2006 14:45

Postby tomfmason » 04. June 2006 15:52

you have several options 1: you can (if using windows) block port 80 with the windows firewall or 2: you can filter port 80 with your router
tomfmason
 
Posts: 9
Joined: 04. June 2006 12:54


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 61 guests