Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Firewall Detection

Status
Not open for further replies.

Shilohcity

Technical User
Jul 12, 2000
136
GB
Hi there

I was wondering if anybody had any experience with detecting whether a client is browsing from behind a firewall?

I am finding that some visitors to mys site have had Javascript disabled by their firewall software and as a result have all kinds of weird errors however the <noscript> tag doesn't pick this up as it is checking the browser where Javascript is turned on not the firewall software.

As always all thoughts and suggestions appreciated.

Cheers

Justin X-) &quot;Creativity is the ability to introduce order into the randomness of nature.&quot; Eric Hoffer

Visit me at
 
I think you've answered your own question. Firewalls aren't supposed to be detectable from the outside.

The odd thing is firewall turning off javascript. If <noscript> isn't seeing it them how can it be set to javascript off? Doesn't make sense.

Maybe a call to the makers of these firewalls might help? There's always a better way...
 
Although you can't detect if they are using firewalls, what about some kind of detecting to make sure javascript is working?
 
You cannot verify if JS is enabled. But you can serve the suitable content using &quot;side effects&quot; of JS work.

One possible solution: JS-based redirect to another page (loaded with scrpits), while the opening page stays scripts-free.

Second: using <noscript> tag.
 
I believe that the <noscript> tag just checks to see if scripting is enabled in the browser, not whether the script has been stripped out by some external software. The only method I can imagine that works is the page redirection if scripting is enabled and the script is still there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top