P
Pirooz Javan
Is there any way to deny a server variable to be run on a server such
as LOCAL_ADDR?
Thanks in advance.
PJ
as LOCAL_ADDR?
Thanks in advance.
PJ
No. Why would you want to even try?Pirooz said:Is there any way to deny a server variable to be run on a server such
as LOCAL_ADDR?
Thanks in advance.
No. Why would you want to even try?
Usually, the question is the other way around: "why does such-an-such
servervariable contain no data?"
Do you understand where the data in the servervariables comes from?
http://msdn2.microsoft.com/en-us/library/ms525396.aspx
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
I never undstand why people decide to give their opinion rather then
answer the question.
Like I said in my original post. I need to deny users from executing
"some" server variables to get information. Does anyone know how to
do that?
I don't believe I offered an opinion. Look at my very first sentence. ItPirooz said:I never undstand why people decide to give their opinion rather then
answer the question.
Like I said in my original post. I need to deny users from executing
"some" server variables to get information. Does anyone know how to
do that?
I don't believe I offered an opinion. Look at my very first sentence. It
should be easy to understand: it consists of a single word. No opinion
there. A very clear-cut answer, I think.
Everything I wrote after that first sentence was an attempt to better
understand your problem, which is still not stated very clearly.
First of all, servervariables are not "executed". The Servervariables
collection is a collection of information taken from http headers of a
Request. It is information, not executable code.
Secondly, a user sitting at a browser does not read the servervariables:
it's the code, written by a developer and running on the server that
reads the variables. So I guess one answer would be to tell the
developers writing the code to be run on your server that their code
should not attempt to read those variables.
However, if you are happy with a single-word answer, I offer it again:
No.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.- Hide quoted text -
- Show quoted text -
Pirooz said:That actually helped.
Your first response said no, but then asked why
I would even try to do that (which is irrelative to an answer).
To
help you understand better, I'm at a govt agency
that is not permitted
to let the internal IPs of the web servers get out. Since we support
many different applications, its difficult to filter all the content
being uploaded to the web servers (500+ apps).
That actually helped. Your first response said no, but then asked why
I would even try to do that (which is irrelative to an answer). To
help you understand better, I'm at a govt agency that is not permitted
to let the internal IPs of the web servers get out.
Tim said:I'm not entirely sure what you mean by that. If your user doesn't have
the IP address of your web server, he can't connect to it at all! If
the server can be connected to from inside the agency by another IP
address, that information won't be available to the outside web user
anyway.
Bob Barrows said:I was assuming that he had an external outward-facing site that ran apps
on internal servers. Is that correct Pirooz? You wish to prevent the
apps on the internal sites from being able to return data about those
servers to the external users?
Oh wait, this is government IT, so the assumption that requirements
map to valid underlying reasons is a false one. Sort of like Amtrak
requiring ID to purchase a ticket, while allowing anyone standing on
the platform to get on the train -- a do-nothing 'safety' measure that
in all actuality has no effect on safety at all.
Evertjan. said:Mark J. McGinty wrote on 23 sep 2007 in
microsoft.public.inetserver.asp.general:
Could you repeat that without your regional settings?
ID surely being a clientside thing, not part of the ASP platform?
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.