Help! URGENT 
Author Message
 Help! URGENT

We have an Intranet web at the college where I teach. We need to limit
access to computers on campus (IP address control)  ...BUT... we would also
like to allow staff to access the site from off-campus with UID and
password.
We run IIS and can block access to only our IP range but I can't figure out
how to:
1) Look at the IP address of an incoming http get, if it's from on campus,
let it through, otherwise
2) Bring up a password window. (We can use the same password for everyone so
we don't have to go to a database or anything.)
Any ideas? ASP, JavaScript?????

Thanx
Tim



Mon, 09 Dec 2002 03:00:00 GMT  
 Help! URGENT
Tim:
This piece of ASP script is from the top of the default page and it will
check the IP address of the user.  I have it checking to see if it is one of
my 2 friends: Joe or Sean.  Then it greets them accordingly.   You could
easily modify it to check their IP address against your school's range of IP
addresses and have them redirected if they don't match.  If they match, let
'em in!
Hope it helps a little... (the password thingy is in someone elses hands!)

Regards,
Joe


    <%
    'get user's ip address

    Dim strUserIpAddress
    strUserIpAddress = Request.ServerVariables("REMOTE_ADDR")
    'check if this

    If strUserIpAddress = "299.101.119.21" Then
     Response.write "<title>Welcome Joe!</title>"
    ElseIf strUserIpAddress = "299.101.119.20" Then
     Response.write "<title>Welcome Sean!</title>"
    End If
    %>

Quote:

>We have an Intranet web at the college where I teach. We need to limit
>access to computers on campus (IP address control)  ...BUT... we would also
>like to allow staff to access the site from off-campus with UID and
>password.
>We run IIS and can block access to only our IP range but I can't figure out
>how to:
>1) Look at the IP address of an incoming http get, if it's from on campus,
>let it through, otherwise
>2) Bring up a password window. (We can use the same password for everyone
so
>we don't have to go to a database or anything.)
>Any ideas? ASP, JavaScript?????

>Thanx
>Tim



Mon, 09 Dec 2002 03:00:00 GMT  
 Help! URGENT
This plea is like a cry for help from the ledge of a tall building. Some
fool wants the whole world to come to a stop to help him decide not to jump!

Tim, if you won't take the time to target your plea to groups within the
problem domain, why should anyone take the time to help you? (I see one
"sucker" did. <G>)


Quote:
> We have an Intranet web at the college where I teach. We need to limit
> access to computers on campus (IP address control)  ...BUT... we would
also
> like to allow staff to access the site from off-campus with UID and
> password.
> We run IIS and can block access to only our IP range but I can't figure
out
> how to:
> 1) Look at the IP address of an incoming http get, if it's from on campus,
> let it through, otherwise
> 2) Bring up a password window. (We can use the same password for everyone
so
> we don't have to go to a database or anything.)
> Any ideas? ASP, JavaScript?????

> Thanx
> Tim



Fri, 13 Dec 2002 03:00:00 GMT  
 Help! URGENT
What I don't understand, Reinhold, is why you're so crude in your reply to
Tim's plea for help.  As far as I'm concerned, we are a family of developers
and should be willing to help each other out when in need.  Perhaps, on a
regular basis, you ridicule your brother or sister at home when they ask for
help?



Quote:
> This plea is like a cry for help from the ledge of a tall building. Some
> fool wants the whole world to come to a stop to help him decide not to
jump!

> Tim, if you won't take the time to target your plea to groups within the
> problem domain, why should anyone take the time to help you? (I see one
> "sucker" did. <G>)



> > We have an Intranet web at the college where I teach. We need to limit
> > access to computers on campus (IP address control)  ...BUT... we would
> also
> > like to allow staff to access the site from off-campus with UID and
> > password.
> > We run IIS and can block access to only our IP range but I can't figure
> out
> > how to:
> > 1) Look at the IP address of an incoming http get, if it's from on
campus,
> > let it through, otherwise
> > 2) Bring up a password window. (We can use the same password for
everyone
> so
> > we don't have to go to a database or anything.)
> > Any ideas? ASP, JavaScript?????

> > Thanx
> > Tim



Sat, 18 Jan 2003 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. FTP Problem PLEASE HELP!!! URGENT

2. I NEED HELP !!!! URGENT PLEASE

3. Please help ...... urgent .strange error

4. Please Help.. Urgent

5. Help!! Urgent:: VB5

6. Please help!! Urgent

7. Help!!!!! (URGENT)

8. Help. Urgent

9. !HELP! Urgent Import Excel values to a ListBox

10. HElp !! urgent

11. Help. Urgent

12. Form in Form Help! Urgent

 

 
Powered by phpBB® Forum Software