Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

user didn't enable priveleges

0 views
Skip to first unread message

Mark P.

unread,
Jul 19, 1998, 3:00:00 AM7/19/98
to
Hi, I keep getting this exception when I try to access a program on the
internet. It was just fine locally, but now that its on the net it
want's to give me this exception even though it doesn't ask for mew to
grant the priveleges. Anyone know what the prob is?
You can check out the program at http://imchat.com/sign/scripter.htm

Let me know if you get this or not. I might be getting the exception
because of NAV's propensity to remember things from biblical times even
though the cache is erased.<G>


vcard.vcf

Robert Hinrichs

unread,
Jul 30, 1998, 3:00:00 AM7/30/98
to imc...@ionet.net
This is the same problem that I have. The signed jar verifies fine from the
command line, and it works when I run it locally. But when I run it on the
web it tells me that the user did not grant the permission. But I never had a
chance to!

Anyone, please advise. I've wasted a lot of time on this.

Mark P. wrote:

> ------------------------------------------------------------------------
>
> Mark P. <imc...@ionet.net>
> CEO
> Markt Space Technologies/imChat
>
> Mark P.
> CEO <imc...@ionet.net>
> Markt Space Technologies/imChat HTML Mail
> Netscape Conference Address
> Netscape Conference DLS Server
> See you at C|Net's Web Builder Conf. Booth 23
> Additional Information:
> Last Name
> First Name Mark P.
> Version 2.1


vcard.vcf

Dr Stephen Henson

unread,
Jul 30, 1998, 3:00:00 AM7/30/98
to
Robert Hinrichs wrote:
>
> This is the same problem that I have. The signed jar verifies fine from the
> command line, and it works when I run it locally. But when I run it on the
> web it tells me that the user did not grant the permission. But I never had a
> chance to!
>

Check out the Java console. Try renaming the jar and reference in a web
page and check the console again. There will probably be some error
messages.

What is usually the cause for signed pages is EOL translation. The
verification of signed pages is sensitive to the EOL character. It
shouldn't be (and I regard this as a bug) but it is.

This is exacerbated by translations that occur when you upload the
files. On some platforms you get naive translation that adds or removes
CRs.

This is easiest to check by loading the files locally as file: URLs. A
hex editor helps as well to check the EOL both in the page and JAR.

Steve.
--
Dr Stephen N. Henson. UK based freelance Cryptographic Consultant.
For info see homepage at http://www.drh-consultancy.demon.co.uk/
Email: she...@drh-consultancy.demon.co.uk
PGP key: via homepage.


Robert Hinrichs

unread,
Jul 30, 1998, 3:00:00 AM7/30/98
to she...@drh-consultancy.demon.co.uk
Thank you, Dr. Henson, for your helpful suggestions--seems this newsgroup is just a
little empty of answers.

The file is saved in PC format and has been running on PCs. It runs fine when I do
not try to access privileges, but when I do, it gives the error:
JavaScript Error: uncaught Java exception
netscape/security/ForbiddenTargetException ("User didn't grant the
CanvasAccess privilege.")

The java console gives no errors, no clue.

Also, when I run it as a file, it works fine. This might be neither here nor there.

I tried recompiling it under a different name, but alas, same result.

vcard.vcf
0 new messages