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.

Is it possible only 1 ip adress can read and others no

Discussion in 'Security' started by humtuma, Dec 29, 2012.

  1. #1
    I would like to know, is there any service or method where only one ip adress can read data and other can't read.
     
    humtuma, Dec 29, 2012 IP
  2. Achiever

    Achiever Well-Known Member

    Messages:
    2,206
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    130
    #2
    no it is not possible to see others ip. cause it is prohibited...... if you are third party then you have all the rights and u can see.
     
    Achiever, Dec 30, 2012 IP
  3. ironcladservers

    ironcladservers Well-Known Member

    Messages:
    389
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    115
    #3
    You could set up a PHP script that detects if you have a particular IP then feeds you data, if that's what you're wondering.
     
    ironcladservers, Dec 30, 2012 IP
  4. humtuma

    humtuma Notable Member

    Messages:
    1,225
    Likes Received:
    24
    Best Answers:
    3
    Trophy Points:
    250
    #4
    No i don't want that.

    Suppose your ip address is 101.111.111.001 and i will give you permission to access from this Ip address than only you can, no body can access else you.

    For example - You have provide me your organisation Ip Address than only organisation can access else nobody.


    I can't use username and password to give particular organisation because third party also can see. IP address is best. I want that.
     
    humtuma, Dec 30, 2012 IP
  5. RonBrown

    RonBrown Well-Known Member

    Messages:
    934
    Likes Received:
    55
    Best Answers:
    4
    Trophy Points:
    105
    #5
    Yep. Don't know anything about PHP, but in .NET you just need to detect the connecting IP to that page and decide whether to show the page or show them something else. I imagine PHP will have the ability to do the same thing. Shouldn't be difficult for a programmer to implement for you.

    It's not fool-proof though and IP addresses can be spoofed. If the data was sensitive then you might want to look for a more robust password-protected system.

    If it's the whole server you want to do this for then a firewall will do it.
     
    RonBrown, Dec 31, 2012 IP
  6. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #6
    You can configure it using the .htaccess file. You will then be able to allow access to the IP's you want & deny all others.
     
    MilesWeb, Jan 1, 2013 IP
  7. humtuma

    humtuma Notable Member

    Messages:
    1,225
    Likes Received:
    24
    Best Answers:
    3
    Trophy Points:
    250
    #7
    Hmmm, I want the opposite method of this. It is not possible to block all over the world except one.
     
    humtuma, Jan 2, 2013 IP
  8. RonBrown

    RonBrown Well-Known Member

    Messages:
    934
    Likes Received:
    55
    Best Answers:
    4
    Trophy Points:
    105
    #8
    What everyone is saying is correct and are methods that will work. It is you who don't seem to be understanding. These methods - whatever you use - will ALLOW a specific IP address to access the content of a specific page or folder and block all others from seeing it.
     
    RonBrown, Jan 2, 2013 IP
  9. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #9
    This is incorrect. You can use this configuration in .htaccess to accomplish this:

    Allow from IP.IP.IP.IP
    Allow from IP.IP.IP.IP/BITS
    Allow from IP.IP.IP.IP/NETMASK
    Deny from All

    This will allow the IPs listed, and deny all others.
     
    zacharooni, Jan 5, 2013 IP
  10. RiotMan

    RiotMan Active Member

    Messages:
    342
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    85
    #10
    just follow this method or just search in google for more detail explaination and method.
    you could atleast try it to see if it is what you are looking for?.

     
    RiotMan, Jan 5, 2013 IP