473,499 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

java.policy file issue

11 New Member
Can anybody please explain me what exactly happens when i add the line
permission java.net.SocketPermission "localhost:1024-","listen";in the java.policy file of my jre installation.

Thanks in advance
Noopur
Apr 16 '08 #1
1 1995
pronerd
392 Recognized Expert Contributor
Can anybody please explain me what exactly happens when i add the line
permission java.net.SocketPermission "localhost:1024-","listen";in the java.policy file of my jre installation.

Thanks in advance
Noopur
Hi, if you are new to using forums they are generally setup to provide help for speicic questions/problems that users can not resolve on their own. It is gernerally expected that a person has made a resonable effort to resolve the problem/question on their own before posting. So posts like this, where it seems clear no effort was made before hand, are not going to get many responses.

The documentation explains what these options do and Google and provide a wealth of examples, but you have to acutally look.
http://java.sun.com/j2se/1.4.2/docs/guide/security/permissions.html#SocketPermission
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaha/rzahajgssjavapoly.htm

The policy string is pretty straight forward. It is allowing a listener to be accessed on port 1024 on the localhost.
Apr 17 '08 #2

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

Similar topics

2
6223
by: Jan Meyer | last post by:
Where (aka what directory) do you put a java.policy file on a website for a particular applet??? There are presently no java.policy files on the web server. tia
73
7892
by: RobertMaas | last post by:
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities...
4
5417
by: Lorenzo | last post by:
hi you all, first of all apologies for having cross-posted this message but really i did not know where to post it. please let me know what ng you consider the most suitable for the described...
0
275
by: Doug | last post by:
Hi, We are having an issue with policy files and the GAC. We have built a process where it will take a policy file dll and install it into the GAC. But a couple of things are occurring. One -...
1
9582
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
2
2172
by: jtyner | last post by:
I am trying to get QFE (Quick Fix Engineering) working with an assembly installed in the GAC. I have two books that claim if two different version of the assembly are installed in the GAC -AND-...
458
20769
by: wellstone9912 | last post by:
Java programmers seem to always be whining about how confusing and overly complex C++ appears to them. I would like to introduce an explanation for this. Is it possible that Java programmers...
15
2156
dmjpro
by: dmjpro | last post by:
I want to permit the java application only to read any local file but i don't want any application to update a local file. Is this related to java.policy? Please suggest ....!
3
3969
by: poopsy | last post by:
hello all, im trying out examples for java rmi but am having a problem.. the skeleton is not being generated, only the stub is generated. i have an example with the following classes:...
0
7132
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,...
0
7009
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...
0
7178
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
6899
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
5475
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
3103
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...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
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 ...
0
302
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...

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.