Hello, first, sorry for this email, but I need a help,  I'm  a ASP
developer and have 2 javascript files ( utilities.js and getdata.js) , I
need to sign this files , so  my users don't need to go to "about:config"
and set signed.applets.codebase_principal_support in true.

I create a file  secure-scripts.jar with signtool comands (-Z), but in my
site (Ex. First_page.ASP ) added the lines:

 <script SRC="jar:secure-scripts.jar!/js/utilities.js"></script>
 <script SRC="jar:secure-scripts.jar!//js/getdata.js"></script>

The site is loading the scripts, but display this error:

Error: A script from "http://mysite"; was denied UniversalXPConnect
privileges

But If  in this .jar I create a test.html and in the url of browser write :
jar:http://mysite\secure-scripts.jar!//test.html , this works. But I can't
do it this, because the javascript files are loading in every page of my
site and I can't package all site.  Also if I add a ASP page in .jar file,
don't works.

I need this working very soon and can't fix the problem. If you can help me
please, I hope that you can help me.

Sorry for this. I'm not speak english, my language is spanish.


Atte. Luis Fernando
_______________________________________________
dev-security mailing list
dev-security@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-security

Reply via email to