Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Credit card fraud and hackers
 blocking india country
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - October 30 2013 :  04:58:12  Show Profile  Reply with Quote
i want to block india people from accessing my site. i have been twice getting hacked by india ip addressess. anybody can give me option ? what module or code should i install ?????
diego.

motonet
VP-CART New User

Spain
79 Posts

Posted - October 30 2013 :  15:20:51  Show Profile  Reply with Quote
Diego, no puedo darte solucion a tu asunto. Voy detras tuyo porque veo que participas mucho en el foro y has aportado soluciones que nos han servido en nuestra web. No tengo tiempo, y necesito hacer unas modificaciones en mi site, y pense que quizas podiamos llegar a un acuerdo.
Saludos
Diego
Go to Top of Page

motonet
VP-CART New User

Spain
79 Posts

Posted - October 30 2013 :  15:27:38  Show Profile  Reply with Quote
Por cierto, es probalbe que en el capitulo 23.7 del manual de la version 7 encuentres alguna idea para solucionar lo de India. Xhackeriptocountry. Aqui aparece como Add On, no se en versiones anteriores si estaba incluido.

Saludos
Diego
Go to Top of Page

serjtankian
VP-CART Super User

Armenia
378 Posts

Posted - November 11 2013 :  07:45:06  Show Profile  Visit serjtankian's Homepage  Reply with Quote
@diego

maybe you can add this into your default.asp file


<!<span class="code-comment">#include file="GeoIP.asp"--></span>
<%
Dim oGeoIP,strErrMsg
Dim strIP,strCountryName,strCountryCode

Set oGeoIP = New CountryLookup
oGeoIP.GeoIPDataBase = Server.MapPath("GeoIP.dat")
If oGeoIP.ErrNum(strErrMsg) <> 0 Then
	Response.Write(strErrMsg)
Else
	strIP = request.ServerVariables("REMOTE_ADDR")
	strCountryName = oGeoIP.lookupCountryName(strIP)
	strCountryCode = oGeoIP.lookupCountryCode(strIP)
End If
Set oGeoIP = Nothing
%>


Download the GeoIP.dat database from MaxMind
http://www.maxmind.com/app/standard

Put GeoIP.asp, and GeoIP.dat in a catalog on your web server.

been done this before with php

Edited by - serjtankian on November 11 2013 07:48:45
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - November 13 2013 :  04:08:51  Show Profile  Reply with Quote
to serjtankian, i tried ur idea and it works very good. indian is blocked. ggoood yeah!
motonet, gracias también, está bien...
diego.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00