java.security.AccessControlException: access denied (java.io.FilePermission) error occurs when I execute applet using html.
It actually works for me if the path of images is under myapplet directory - where my applet classes exist but when I move my images directory somewhere else on the c: drive and then point to it in html it gives me io exception mentioned above.
I need to do this since my client asked me to make the path of images configurable - passed as a parameter to applet.
For example, image directory will be passed as c:\test\images.
In applet viewer it always works under all circumstances. In html it only works if images directory is under my applet classes.
Thanks in advance