473,623 Members | 2,433 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

java.policy file

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

Jul 17 '05 #1
2 6238
Jan Meyer <Ae************ ****@NOSPAMMake ItHappen.com> wrote in message news:<Zo******* **********@news read3.news.pas. earthlink.net>. ..
Where (aka what directory) do you put a java.policy file on a website
for a particular applet???


You can't put a policy file for an applet on the webserver because
every user has a local installation of the JRE which he uses (or his
browser) to execute the servlet. Your webserver has nothing to do with
this!

You could provide a java.polocy file for download, but every user of
your applet would have to download that file and put it in his local
java directory. Not a good idea...
Jul 17 '05 #2
hmm. why is that such a bad idea?
downloading a policy file via the webbrowser?
/folke

In article <ed************ **************@ posting.google. com>, Der
Genosse <ge********@gmx .de> wrote:
Jan Meyer <Ae************ ****@NOSPAMMake ItHappen.com> wrote in message
news:<Zo******* **********@news read3.news.pas. earthlink.net>. ..
Where (aka what directory) do you put a java.policy file on a website
for a particular applet???


You can't put a policy file for an applet on the webserver because
every user has a local installation of the JRE which he uses (or his
browser) to execute the servlet. Your webserver has nothing to do with
this!

You could provide a java.polocy file for download, but every user of
your applet would have to download that file and put it in his local
java directory. Not a good idea...

Jul 17 '05 #3

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

Similar topics

0
3430
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed Pentagjetvedeh karuvificials madhla reachathe strategy in karkun campaign deshatinst terrorism. "mudivae maretu winning or losing karkun global varti jetvedeh terror?" Mr. Rumsfeld adugued in a recent memormariyuum. vede velli jetvedeh madhla...
4
5421
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 issue. i wrote a program made by a client and a server that communicate via RMI premise 1) everything has been developed and executed on WinXP Professional and the following jre
0
1042
by: andrew.noel | last post by:
I have a publisher policy setup that consists of the following two files: policy.0.0.assembly.dll policy.config The policy.config file contains the following: <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
3
3341
by: Chris | last post by:
I've been researching this on and off for weeks, and haven't come up with anything useful yet. If anyone knows how to do this, please let me know. From a Java applet running in IE 6.0 using the Sun J2SE 1.4.2_03 plug-in, I need to retrieve the proxy host and port that will be used to access a specific URL. The site with the client machines is using automated proxy settings (i.e., a ".pac" file) to retrieve the proxy server address and...
2
2175
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- they vary only by revision number, then the default policy is to load the higher number version. I am not able to reproduce this behavior in practice. My test case is simple. I wrote a class with AssemblyVersion 1.0.0.1. Installed into GAC. ...
1
2002
by: noopurtiwari | last post by:
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
15
2178
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
3981
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: Account.java( which is the interface definition) AccountImpl.java (contains implementation for the remote interface) AccountServer.java AccountClient.java i have already set my classpath, etc.. to compile i did the following:
0
8227
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...
1
8326
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7150
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...
1
6106
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
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
4074
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...
0
4164
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2602
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
1
1778
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.