Lengkap

I need JavaScript that checks if a user's IP address is in a range of IPs

I need JavaScript that does the following:

1. Load a list of IP ranges from an external file (like a text, CSV, or similar file). This file should be easy to edit and contains the following information for each entry (there will be multiple entries):

IP start of range

IP end of range

A note

So for example if it’s a CSV, it would look like this:

[login to view URL],[login to view URL],”Owner of this IP range”

[login to view URL],[login to view URL],”Owner of a different IP range”

2. Get the user’s public IP address

3. A function to check if the user’s IP address is in any of the ranges in the external file

4. If the user’s IP is in any of the ranges in the external file, write a cookie called “authcookie” that contains the string “ipok” and the user’s IP address

Notes:

- This is for IPv4 addresses only, no IPv6 needed

- It’s ok to use js libraries/existing code like these to check if the user’s IP is in a range, whatever gives the best performance:

[login to view URL]

[login to view URL]

- I am open to converting the range of IPs into CIDR and checking if the user’s IP is in CIDR blocks

Method of delivery: I would like this packaged as:

- .js file containing the code and function(s)

- .js files for any required library/libraries

- External file with ranges of IPs

- HTML file that calls the JS, displays the user’s IP address, and outputs whether the current IP address is in the range of IPs in the external file

** This project is urgent and will not take much time for an experienced JavaScript coder. I will award the bid to a freelancer who can deliver the project within 24 hours.**

Kemahiran: AJAX, DNS, Javascript, jQuery / Prototaip

Lihat lagi: calculate cidr address range ips, convert cidr ip address range, convert cidr network ip address range, js ip, ip range check, ip address validation in javascript, ip address range validation in javascript, javascript ip mask, javascript check if ip address is in range, check if ip is in cidr range, javascript cidr validation, ajax, javascript, jquery / prototype, dns, current loggedin user ip address php, find youtube user ip address message, ip address friendster user, ip address range converter excel, javascript zip code ip address

Tentang Majikan:
( 22 ulasan ) Brooklyn, United States

ID Projek: #17595636

Dianugerahkan kepada:

BinhSEO

Hello Jai, Long time no see. It's JS again and you know I'm good at this. Cookie and IP is not a big problem here. I've done for you a hugh AngularJS map for Public Charters. I've been hired full time in past. B Lagi

$111 USD dalam 0 hari
(22 Ulasan)
5.0

16 pekerja bebas membida secara purata $150 untuk pekerjaan ini

Europa17

Hi there Nice to meet you. Just checked out your job description carefully. As a js expert I can do your job in a different ways. One is to use existing libraries/code. Another is to build script from scratch. I Lagi

$222 USD dalam 3 hari
(30 Ulasan)
6.4
A2Design

Hello! We are a team of 30+ web developers based in Russia. Our team is interested in developing your project. Having the required skills, we will be glad to help you. We have some questions regarding your projec Lagi

$350 USD dalam 3 hari
(21 Ulasan)
6.9
mohamedgb00714

hello I can start the work right now and I will finish the work in the next 6 hours all what I need its the externel file with ip address and I will do the job like you want regards el hadi

$140 USD dalam 5 hari
(55 Ulasan)
5.6
mekiho

Dear Employer. Thanks for sharing your requirements here. You want to check ip address if it is in range from the external file. I can do it and I can start right away. I am confident I will deliver it in 24 hrs. Lagi

$155 USD dalam 3 hari
(29 Ulasan)
5.4
schoudhary1553

Hello Sir, I am the expert freelancer here. I am on the 6th position through out the world to deliver the quality job. I have deliver here more than 385 + projects with 100% client satisfaction. I have more than 5 Lagi

$250 USD dalam sehari
(13 Ulasan)
4.5
$100 USD dalam sehari
(32 Ulasan)
4.7
sypsoo

Project Description I need JavaScript that does the following: 1. Load a list of IP ranges from an external file (like a text, CSV, or similar file). This file should be easy to edit and contains the following info Lagi

$140 USD dalam 5 hari
(7 Ulasan)
4.1
YuKai7777

Hello! I am YuKai professional from China. Responding to the bid of the Client is my simple pleasure, and it will be my gratitude for you to respond to my bid. First I want to show you my major skills that I can run Lagi

$200 USD dalam 3 hari
(5 Ulasan)
2.8
FashionCStar

Hello I am very interesting your post, because it is very proper my skill I can do your project perfectly with my experience in a day I have 5+years experience in IT field and completed many projects I am very fa Lagi

$155 USD dalam 3 hari
(2 Ulasan)
2.7
$200 USD dalam sehari
(1 Ulasan)
1.8
iamsmart900

Hello There, My work experience as shown in my profile have helped me develop mastery in Website design & development. I'm a full-stack developer with more than 6 years of work experience. Expert in BOTH Back Lagi

$50 USD dalam 2 hari
(1 Ulasan)
0.6
garethbill

Hi. I reviewed the description in detail and clear what you want. I have strong experience with javascript and very familiar with csv. I will do it as plugin so that you can use any other site easily I can start Lagi

$60 USD dalam 0 hari
(2 Ulasan)
0.4
$155 USD dalam sehari
(0 Ulasan)
0.0
rightroad

Hi there, I can do this for you. I understand exactly what you want. Don't hesitate to contact me! Thank you.

$60 USD dalam sehari
(0 Ulasan)
0.0
$55 USD dalam 3 hari
(0 Ulasan)
0.0