J
Jawahar Rajan
All,
I am working on a project that requires the companies clients to login to
our web site.
however for employees of the companies they do not want to have a login. But
a lot of the asp pages that I have depend on the login being successful
because it return some values about the user privileges etc.
I am thus allowing company employees to by pass the login and get access to
everything!.
But to do this I need effectively set up behind the scene login to the
database.
I thought that I could trap the IP address of each request to our IIS server
and based on the IP address I will force a login or if from the company
itself I can do a behind the scene login.
Is this a good approach>
I am trying servervariables("REMOTE_ADDR") and
ServerVaraibles("REMOTE_HOST")
both return only IP Address.
can I actually get the name of the server name ( The server that makes the
request) this way It is easy to tell if it is Intranet or internet
Any thoughts?
Thanks
Jawahar Rajan
I am working on a project that requires the companies clients to login to
our web site.
however for employees of the companies they do not want to have a login. But
a lot of the asp pages that I have depend on the login being successful
because it return some values about the user privileges etc.
I am thus allowing company employees to by pass the login and get access to
everything!.
But to do this I need effectively set up behind the scene login to the
database.
I thought that I could trap the IP address of each request to our IIS server
and based on the IP address I will force a login or if from the company
itself I can do a behind the scene login.
Is this a good approach>
I am trying servervariables("REMOTE_ADDR") and
ServerVaraibles("REMOTE_HOST")
both return only IP Address.
can I actually get the name of the server name ( The server that makes the
request) this way It is easy to tell if it is Intranet or internet
Any thoughts?
Thanks
Jawahar Rajan