|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Silly Question
OK... Here I go... I know this is going to sound stupid, but...
Is there a way I can block a user coming to my site from certain IP addresses? |
|
#2
|
||||
|
||||
|
Yes, a couple of ways.
What server are you using? What language is your site built in? A quick search of the forums would probably yield instant results as this has been covered numerous times.
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
||||
|
||||
|
Apache. I've done a search and I found some code to add to an .htaccess file. Unfortunately I'm new to this, so I don't know where to add the code.
|
|
#4
|
||||
|
||||
|
Code:
Order deny,allow Deny from XX.XX.XX.XX Allow from all http://httpd.apache.org/docs-2.1/mo...host.html#order |
![]() |
| Viewing: Dev Shed Forums > Other > Dev Shed Lounge > Silly Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|