473,804 Members | 3,481 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Firewall Blocks Javascript

I am just getting into more and more web development. I have been
developing pages using ASP.NET and recently started to add in some
basic javascript funcitons. In the last page I built I had simple
javascript to add the value of two textboxes and put the result in a
third. I also did some validation in javascript. I ran into a few
cases where a user's firewall was blocking the javascript. Are there
any ways of preventing this? Are there things I can do to minimize
these types of situations?

This raises concerns for me because I'm looking to build some custom
AJAX functionality to avoid the overhead of the .NET UpdatePanel, but
if my javascript might get blocked I might have to reconsider.
Mar 28 '08 #1
2 4280

Thanks for the reply. Your response has brought up another question
on my mind.

If the user can modify the request/response, how do I secure any
custom AJAX calls?
Mar 28 '08 #2
rcw1983 meinte:
Thanks for the reply. Your response has brought up another question
on my mind.

If the user can modify the request/response, how do I secure any
custom AJAX calls?
The same way you validate any "normal" post or get requests. Any XHR
*is* a post or get request. And if the customer modifies the response:
Who cares?

Gregor
--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Mar 28 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1495
by: Morten Jensen | last post by:
Hi I have a problem with a script that allows a user to download a .exe file. It works fine for all browsers that I have tried, but only behind certain firewalls. With Norton, everything looks fine except that the downloaded file has size zero and has no content. Is there anything I can do (perhaps with the HTTP headers) to get the whole file through Norton firewalls - I have included the relevant part of my code below. Note that the...
2
2786
by: Rajesh Kapur | last post by:
Hello, We use Informix and MySQL on linux/unix to drive our web application. SQL*Server is used only for backend enterprise applications within the firewall. I am trying to get the management to use SQL*Server outside the firewall. They tell me there are security issues with Microsoft products, including SQL*Server, that make it vulnerable to attacks outside the firewall. Can someone please point me to white papers/documentation that...
0
4795
by: Timothy Parez | last post by:
Hello, I've seen some front-ends for the windows firewall api (for example: http://www.codeproject.com/internet/drvfltip.asp) but I'm not familiar with C++. Now I wonder if someone can show me some examples/documents/tutorials/... on how to use this api with C# All I want to do is create a small front-end which for example
5
5599
by: Mats | last post by:
Hi! I would like to get a web client's IP where the client is behind a firewall. I googled but hasn't found any solution with javascript that work's. There seems to be a java applet that can do this, but i would like the applet to put it into a "hidden" tag or into a textbox on the HTML page, so when the user clicks "OK" it will be posted to my PHP script. Any ideas, link's, tip are most welcome!
2
2260
by: NG WEI CHUNG | last post by:
Hi, Some of my clients site is unable to view the ASP .NET page due to the proxy server and firewall or perhaps IE setting etc, I m not sure what is the actual cause of the problem, it display "Page Not found" or "Action Canceled" error msg on IE. They are using IE6 In some of my aspx.vb I have written response.redirect and some response.write some javascript to be execute during runtime, will this causing the problem?
11
13408
by: Doug van Vianen | last post by:
Hi, I often like to include some JavaScript coding in my web pages to make them more interesting. Unfortunately, even when this coding is as simple as a check to see what the display width is in pixels so that pictures on the page can be adjusted to better fit the display, Internet Explorer detects the coding and blocks it. Of course the user can click on the message displayed above the web page to allow "the active component" but many...
1
1924
by: cagdas.gerede | last post by:
Could anyone suggest some documentations or example implementations on how to implement a firewall for Windows platform that can block based on Mac addresses instead of IP addresses. Appreciated, Thanks Cagdas
1
1517
Frinavale
by: Frinavale | last post by:
Hi there, I'm currently using VB .Net to develop a web application that sends emails periodically. Everything works fine in the test environment but not on the real server. After reviewing the Windows Event log I discovered that our WinSock firewall is preventing my application from sending emails. There is no way to turn off this firewall so I have to work around it. Since the web-app works in the test environment, I'm sure there's a...
1
1586
by: Lobo | last post by:
I'm wondering how expensive and (in)efficient is to use Collection type javascript library functions (similar to using Blocks), instead of repeating the 'for' iterator over and over across a large application. I'm afraid that instantiating javascript Functions to act as Blocks in these cases might require many more internal javascript resources (time / memory) compared to using the 'for' statement - ?. I would not want this to be the...
0
9710
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9589
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10593
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9163
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6858
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4304
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3830
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3000
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.