calling signed applets from javascript

I have some applet that I have signed and that have to the some writing on the hard disc. This is for intranet application. When I save file from init method of applet or any method whic I called on applet form by pressing button that's work fine. But when I call applet method form javascript like myApplet.saveFile() that throws security exiption that it dont have permission to write to the disk. When I call applet methods from javascript that don't violete standard permission that work fine but I need to call those save methods to because half of my front end is in pure html. Obviously this is some security issue that I dont know and have to protect  calling of dangerous methods  by other people scripts. Can someone show me the way to do what I want and need to.
tia Cubrovic
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

did you set the

      <PARAM NAME="scriptable" VALUE="true">

tag in the <OBJECT> tag refering to the applet?
cubrovicAuthor Commented:
I dont use object tag. I use applet tag . And didnt thintk that this is the issue because I can call succesfully any applet method from javascript but the one I use to save files.
You need to sign the javascript, though I don't believe this is supported under IE.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cubrovicAuthor Commented:
I kind of found a solution.
I start thread from the applets init that check for every 300ms if there are some new action from javacript started and  from javascript I set just an action variable (String) that tell that thread what have to be done next.
Not ideal solution bat we're not living in ideal world ;)

Thanks for participating and you have points for that.
If you have some observations on my solution I will love to here it. Before something explodes.

yes a similir workaround is to have your js calla method that queues the task to be performed, and then process those threads from another trusted thread.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.