473,419 Members | 1,605 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,419 software developers and data experts.

How To Configure Firewall Access For An Application By Java Program.

How To Configure Firewall Access For An Application By Java Program?

Let A Application Name "xyz.exe" In Windows\system32\

It Should Connect To Net And Send Or Recieve Data Without Restriction Of Firewall.

like At The Of Installing A Program It Automatically Sets Its Self To Access Internet.
e.g. Mozila Firefox, Bittorrent...

Reply :
I Know That Popular Program List Are Mentioned In Some Firewall.
But I Have Seen For Windows Firewall / An Antivirus With Firewall Is Configured By The installer Of A New Program That Is Not So Famous Automatic.
How? I Also Ned To That In Writing A Program.

Thanks In Advance ........
Aug 4 '10 #1
2 2120
Dheeraj Joshi
1,123 Expert 1GB
By the way, I am not cleat about your problem. What are you trying to achieve?

Regards
Dheeraj Joshi
Aug 4 '10 #2
chaarmann
785 Expert 512MB
A program cannot "Automatically Sets Its Self To Access Internet". If it could, it would be a huge security hole.

Usually it simply tries to access, and then your firewall asks you if you want to allow it. That means your firewall pops up a message box where you must click "ok" to allow it (ZoneAlarm, Norton etc.). Or if you have a dumb firewall, then it just blocks without asking, and you must set the permissions manually inside the firewall program.
Second, "Notepad" cannot be configured in any way to access the firewall. It cannot connect to Net and send/receive data by itself. But it can access filemanagers which then can access a shared network drive etc. That means Notepad can only load and save its text to file system like any other program in a simple way. It's the filemanager that will access the firewall/network then and process the received data (like zipped directories, samba-shared directories, TurtoiseCVS-directories etc.)

Third point, about Firefox etc.
Your firewall is preconfigured for these programs, that means because it already knows them it's not asking and just granting access on the known ports (http-port 80 for example). But that was programmed in by the manufacturers of the firewall, and can be overridden by firewall-configuration.
(My firewall ZoneAlarm always asks after I have installed a new version of Firefox!)
Aug 5 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jan Meyer | last post by:
When I run the code below as an applet I get this message: Hello java there was a problem access denied (java.net.SocketPermission yahoo.com resolve) But when I take the same code for...
2
by: enclume42 | last post by:
Hello, I am a pure Linux guy. I wrote a Java program that is going to be used by some Windows people, and I wish the startup of the program to be as simple as possible, namely to double-click on...
3
by: gohaku | last post by:
Hi everyone, I would like to know if it's possible to use python (libraries) in a Java Program. I do not want to use: Process proc = Runtime.getRuntime.exec(command) I am basically looking for...
6
by: David | last post by:
Hi, I am writing a C# program and want to run a java application and pass it a filename as a parameter. I want to be able to write a method in C# that will run this Java app for me. Eg. I want...
2
by: Alphonse Giambrone | last post by:
I just downloaded the new MS Paterns & Practices Enterprise Library to use the Data Access Application Block in a web app. Am I missing something, or can the connection string only be set in the...
1
by: satish mullapudi | last post by:
Hi, I am using DB2 v8.2 & jdk 1.4. 1. I have a java program which returns an array which contains 1 to 5 numbers. The code: public class ArrayTest { public static final int ARRAY_SIZE = 5;...
1
by: =?Utf-8?B?S2Vubnk=?= | last post by:
I have one bat file that contains a command to startup Java Program. Then, I would like to create a cluster job to call the bat file. In case of one computer is down, another computer can also call...
16
by: Knute Johnson | last post by:
I'm trying to write a C wrapper to run a Java program. I need to distribute a CD with the Java runtime, my application and a C startup program. I've put the C wrapper program, my java app and the...
4
by: Quill_Patricia | last post by:
I have a Python script which is used to load data into a database. Up to now this script has been run by customers from the Windows command prompt using "python edg_loader.pyc". Any error messages...
6
by: moongeegee | last post by:
I have compile my java program as myjava.class. And I can run as "java myjava" without any program. As now, I need to execute myjava.class in javascript. Please shed a light how to execut "java...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...

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.