473,395 Members | 1,556 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Control Certain IP

Hi EveryBody:

My question Is how can I control or track any Ip of computer and prevent it
from entering web site either by domain name or ite IP address

For example:

If my computer IP is 10.0.0.117 and Domain name for site is www.yahoo.com
and its relevent IP address id for example 84.34.55.213 how can I control the
first IP to not enter a second IP ?

is there any way to do so...

any help will be or redirection will be appreciated

regard's

Husam
Sep 9 '07 #1
2 1064

You can do this in 2 ways

1. in IIS there is a block list so you can just simply add the ip adress or
hostname ( wich in its turn is translated to an ip , so it is basicly the
same )

2. you can do this from you web application by querying the server varibales
, thus checking the ip adress and then perfom a response.redirect to a
alternate page ( error notice or whatever ) but note that this will only
work on "active"pages ( ASP , ASPX etc etc ) and not on plain content pages
( HTM , HTML )
hth

Michel Posseth
"Husam" <Hu***@discussions.microsoft.comschreef in bericht
news:77**********************************@microsof t.com...
Hi EveryBody:

My question Is how can I control or track any Ip of computer and prevent
it
from entering web site either by domain name or ite IP address

For example:

If my computer IP is 10.0.0.117 and Domain name for site is www.yahoo.com
and its relevent IP address id for example 84.34.55.213 how can I control
the
first IP to not enter a second IP ?

is there any way to do so...

any help will be or redirection will be appreciated

regard's

Husam

Sep 9 '07 #2
Husam,

Block port 80 or add the network adapter via the MAC address to the firewall

--
Newbie Coder
(It's just a name)
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:ed*************@TK2MSFTNGP06.phx.gbl...
>
You can do this in 2 ways

1. in IIS there is a block list so you can just simply add the ip adress or
hostname ( wich in its turn is translated to an ip , so it is basicly the
same )

2. you can do this from you web application by querying the server varibales
, thus checking the ip adress and then perfom a response.redirect to a
alternate page ( error notice or whatever ) but note that this will only
work on "active"pages ( ASP , ASPX etc etc ) and not on plain content pages
( HTM , HTML )
hth

Michel Posseth
"Husam" <Hu***@discussions.microsoft.comschreef in bericht
news:77**********************************@microsof t.com...
Hi EveryBody:

My question Is how can I control or track any Ip of computer and prevent
it
from entering web site either by domain name or ite IP address

For example:

If my computer IP is 10.0.0.117 and Domain name for site is www.yahoo.com
and its relevent IP address id for example 84.34.55.213 how can I control
the
first IP to not enter a second IP ?

is there any way to do so...

any help will be or redirection will be appreciated

regard's

Husam


Sep 11 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Cro | last post by:
Hello Access Developers, I'd like to know if it is possible to perform a count in an expression that defines a control source. My report is based on a query. In my report, I want a text box to...
6
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
7
by: A.M | last post by:
Hi, I have a validation control in my page that upon any invalid data, it disables all buttons in the page. basicly i don't have any postback in the page if the validator finds any error. How...
2
by: John Holmes | last post by:
I am using radioButton controls in a data repeater and would like to incorporate the 'key' field into the 'id' attribute of the radioButton controls and name them something like: 'rad' + '<%#...
3
by: Eric | last post by:
I have built a composite user web control that I want to create dynamically. The form will contain a variable number of these controls and as well some of the contents of the user web control...
2
by: Stan | last post by:
I could not find the answers for these two questions about in Xml server control 1. Is it possible for control to keep its ViewState? Even if I set EnableViewState = true the control does not seem...
4
by: thomson | last post by:
Hi all, i do have a user control with 4 buttons, and all the events are firing properly, My problem is that i need to right an event handler in the user control, which gets fired after a...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
10
by: p3t3r | last post by:
I have a treeview sourced from a SiteMap. I want to use 2 different CSS styles for the root level nodes. The topmost root node should not have a top border, all the other root nodes should have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.