Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. detecting IP address & banning the vistor

detecting IP address & banning the vistor

Scheduled Pinned Locked Moved Web Development
javascriptregex
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DEVILSAN
    wrote on last edited by
    #1

    Is it possible to detect the IP address & ban visitors from particular IP addrress from visiting the website or a page , like is it possible to detect the IP address using javascript or some other mean & match & block the visitors from the certain area.

    Do Not Follow Where The Path May Lead. Go Instead Where There Is No Path; and leave a Trail

    M D J 3 Replies Last reply
    0
    • D DEVILSAN

      Is it possible to detect the IP address & ban visitors from particular IP addrress from visiting the website or a page , like is it possible to detect the IP address using javascript or some other mean & match & block the visitors from the certain area.

      Do Not Follow Where The Path May Lead. Go Instead Where There Is No Path; and leave a Trail

      M Offline
      M Offline
      MatrixCoder
      wrote on last edited by
      #2

      Try Get Client IP. P.S. I like your sig. :)


      Trinity: Neo... nobody has ever done this before. Neo: That's why it's going to work.

      1 Reply Last reply
      0
      • D DEVILSAN

        Is it possible to detect the IP address & ban visitors from particular IP addrress from visiting the website or a page , like is it possible to detect the IP address using javascript or some other mean & match & block the visitors from the certain area.

        Do Not Follow Where The Path May Lead. Go Instead Where There Is No Path; and leave a Trail

        D Offline
        D Offline
        Davide Icardi
        wrote on last edited by
        #3

        I think that it is possible (I think that you need some server side code ...) but consider an IP address is not unique for a specific user. -if multiple computers access the internet using a router (NAT) they all share the same IP, so you can block for example an entire office -without a public static IP the same IP can be used from multiple computers (the IP is dynamically assigned by the internet provider) -I think that there are some services used to hide your IP and browse the internet using another IP I'm not an expert on this subject but I think that block the visitor only by the IP is not the right solution. Davide

        1 Reply Last reply
        0
        • D DEVILSAN

          Is it possible to detect the IP address & ban visitors from particular IP addrress from visiting the website or a page , like is it possible to detect the IP address using javascript or some other mean & match & block the visitors from the certain area.

          Do Not Follow Where The Path May Lead. Go Instead Where There Is No Path; and leave a Trail

          J Offline
          J Offline
          JimmyRopes
          wrote on last edited by
          #4

          DEVILSAN wrote:

          Go Instead Where There Is No Path; and leave a Trail

          OT - Sign at beach: "Tern nesting area. Walking on sand dunes in punishable by $1000 fine". :sigh:

          Simply Elegant Designs JimmyRopes Designs
          Think inside the box! ProActive Secure Systems
          I'm on-line therefore I am. JimmyRopes

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups