1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

ASP.NET: Blocking visits with certain parameters

Discussion in 'Programming' started by camjohnson95, Jun 23, 2013.

  1. #1
    Hi All,

    Recently I have had a robot that has been crawling my website, I am not sure why but I am sure that it has malicious purposes. I continually block it using htaccess and then it will be back a week later under different IP Addresses. I have noticed that it always has the same operating system, browser and screen resolution which is why I know it is the same bot.

    What I would like to do is block any visits that fit all of these parameters:

    Operating system: Linux
    Screen Res: 800x600
    Browser: Safari
    Browser Version: 533.3

    I doubt that I would lose many legitimate users that fit all of these parameters, if any.

    I am not sure if this can be done with htaccess or if it would be easier to do it in asp.net. Any advice, pointers or examples would be much appreciated.

    Thanks in advance,
    camjohnson95, Jun 23, 2013 IP