Local vs. Public access

M

M.Siler

I have a page hosted on godaddy.com, but if someone access it from our
network at our office how can I detect that and by pass the login? I can
check the local address but that's not very secure as if someone else out
there has the same private IP address scheme it would consider them local
and that's not the case.

I'm using ASP and JavaScript is ok too. Anyone have any suggestions?
 
M

Mike Mueller

:I have a page hosted on godaddy.com, but if someone access
it from our
: network at our office how can I detect that and by pass
the login? I can
: check the local address but that's not very secure as if
someone else out
: there has the same private IP address scheme it would
consider them local
: and that's not the case.
:
: I'm using ASP and JavaScript is ok too. Anyone have any
suggestions?
:
Local IP addresses such as 192.168.0.1 are non-routable. The
only way to have that access a site is if they are on the
same side of a router as the server.

You can use ASP to check for local domain login
 
M

M.Siler

Let me explain more

If I'm at the office and my IP address is 10.0.0.50 and my domain is
office.com and I'm accessing public_website.com that has an IP address of
65.12.5.42 I don't want to be prompted for a login as I'm in the office. If
I'm at home with my own private IP 192.168.0.1 and domain (or workgroup) NOT
office.com I want to be prompted for the login.

Is there a way an ASP page can inquire as to the users domain such that if
it was office.com I'd know the person was in our office and not prompt them
for the domain login?
 
S

Steve Easton

If the computer ( server ) is "shared" on the network, and if all you want
is "Read" access for the site, you should be able to access it via My
Network Places.

It would be something like http://username/webfoldername

username being the log on name of the machine hosting ( serving ) the web.

Then once you have the web open, simply create a desktop shortcut just like
any other web.

That's how I have my database webs set up at our office.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top