Blocking URL ?

Discussion in 'Site & Server Administration' started by Strike X, Jun 19, 2010.

  1. #1
    Is there any software (on windows) I could use to filter the website?

    For example...

    Block:
    [url]https://www.domain.com/page.php?id=[/url][B]1[/B]&hash=[I]324234[/I]
    [url]https://www.domain.com/page.php?id=[/url][B]2[/B]&hash=[I]435535345[/I]
    
    Allowed:
    [url]https://www.domain.com/page.php?id=[/url][B]3[/B]&hash=[I]342432424[/I]
    [url]https://www.domain.com/page.php?id=[/url][B]4[/B]&hash=[I]435535345[/I]
    and the rest of page ID
    Code (markup):
    As you can see I wanted to block ID 1 and 2 but hash can be random. Is there any software can do that to filter using regular expression or something.
     
    Strike X, Jun 19, 2010 IP
  2. amaroks

    amaroks Peon

    Messages:
    242
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What you mean on windows ? Windows server ? or?
     
    amaroks, Jun 20, 2010 IP
  3. dropagear

    dropagear Peon

    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    How about using a .htaccess file to redirect all url's with ?id=1 or ?id=2 back to the main page or to a custom warning page.
     
    dropagear, Jun 24, 2010 IP