Shamshad Ali
Posts: 4
Nickname: shamshad
Registered: Aug, 2004
|
|
Re: java.io.FilePermission - error
|
Posted: Aug 31, 2004 2:33 AM
|
|
I want to tell u in shot once again. One of a programmer worked on a client's website. He made the functionality to upload and download automatically using JSP with tomcat. when a user/client need to upload files he clicks a link from the browser and then the Java script runs an executable files comes to the client PC and check for any thing found in a particular folder to be unloaded. For this purpose client's need IE settings to alow Microsft JVM. without these settings browser says change/security settings to alow scripts to be downloaded for searching the folder for currenet date's files to be uploaded. this is same for the downloading from other client. Now its still running file with old versions and those who has JVM installed in IE. But recently Microsoft and sun has court agreement for some reason and Microsoft remove JVM in all newly OS coming these days like XP with service pack 2 and windows server 2003 and new patches and updates for browsers. looking this do i need to change the automated option from my website? following is the error": --------------- In the security settings section we have to ask the clients to modify the Microsoft VM and Java settings so that we can create folders and download files to their hard disk. So far we have not had any problem with that. Our system has been used on all the versions of Windows. However, due to Microsoft and Suns out of court settlement, MS has removed the Java from all the new OS being shipped.
One of our clients recently bought a new system with Windows XP Professional. I kept on telling him to go to the security settings at Microsoft VM, but he could not find it. After researching on the internet I found out that MS is not installing it anymore. I thought that he can use some other version of Java and I sent him the following note (see below).
Even after he downloaded, installed Java and rebooted, he could not see that security option. Do you have any other suggestions? I think that we need to find a way to edit the security settings in Sun Java.
----------------
1- Install Java Just found out to solve the problem of websites telling you that you cannot view the page correctly without downloading Microsoft Virtual Machine. You need to go to
www.java.com/en/index.jsp and click on the text in the top right corner which says 'download free' and follow the on screen instructions. 2- Reboot the computer 3- Set up the Security settings (We tried to do this last couple of times, if you want, we can do this together) Tool Internet Options Security Settings Internet Custom Level Microsoft VM Java Permissions Custom Java Custom settings (at the bottom left) Edit Permissions Run unsigned contents Enable Run signed contents Enable OK, OK Trusted Sites Custom Level Microsoft VM Java Permissions Custom Java Custom settings (at the bottom left) Edit Permissions Run unsigned contents Enable Run signed contents Enable OK, OK Then, Press, OK or Yes, or Apply
===================================== ERROR is :
Java(TM) Plug-in: Version 1.4.2_05 Using JRE version 1.4.2_05 Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\Owner Proxy Configuration: No proxy ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging p: reload proxy configuration q: hide console r: reload policy configuration s: dump system properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- I am called
New for website
java.security.AccessControlException: access denied (java.io.FilePermission C:\checkclienthdd.exe write)
Please let me know how to fix this issue? do we need to change the whole script or need something adjustment with Javascript for file forlder permission on clinet's pc? do u think the SSL will resolve it like https://
|
|