BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Applet and reading files from client

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Applet Issues
View previous topic :: View next topic  
Author Message
Matjaz Cof
Guest





PostPosted: Sat Sep 10, 2005 4:15 pm    Post subject: Applet and reading files from client Reply with quote



I wrote simple applet to upload files(images) from client to server with
ftp. In JBuilder evrithing works fine.
But when I want to run the applet in browser (firefox or IE) I get the
message in the java console: accesscontrolException: access
denied(java.util.PropertyPermission user.dir read)

I asked unkle google for advice and if I correct understand I need the
signed jar for using JFileChooser that reads files from client.
So I click on JBuilder (2005) File -> new -> archive -> applet jar and
the fill all text field, and came to the chackbox: Digitaly signed this
archive. Here it stops. What I must to fill for the:
* keystore
* kestore password
* alias
* alias password
* store type.

Can anybody help me.
I appologize for broken english.

Matjaz Cof
Back to top
Lori M Olson [TeamB]
Guest





PostPosted: Sat Sep 10, 2005 5:24 pm    Post subject: Re: Applet and reading files from client Reply with quote



Matjaz Cof wrote:
Quote:
I wrote simple applet to upload files(images) from client to server with
ftp. In JBuilder evrithing works fine.
But when I want to run the applet in browser (firefox or IE) I get the
message in the java console: accesscontrolException: access
denied(java.util.PropertyPermission user.dir read)

I asked unkle google for advice and if I correct understand I need the
signed jar for using JFileChooser that reads files from client.
So I click on JBuilder (2005) File -> new -> archive -> applet jar and
the fill all text field, and came to the chackbox: Digitaly signed this
archive. Here it stops. What I must to fill for the:
* keystore
* kestore password
* alias
* alias password
* store type.

Can anybody help me.
I appologize for broken english.

Matjaz Cof

This is an advanced topic for applets, mostly because it is a
multi-step, manual process. There are many articles published on the
subject. The JDK docs provide this:

http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/rsa_signing.html

The Java Glossary provides links to many resources on this topic:

http://mindprod.com/jgloss/signedapplets.html

Hopefully you will find what you need in there somewhere.

--

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Back to top
Matjaz Cof
Guest





PostPosted: Sat Sep 10, 2005 7:19 pm    Post subject: Re: Applet and reading files from client Reply with quote



I haven't checked your links yet, but it 's possible to do this in JBuilder?
When you choose File -> new -> archive -> applet jar is the final step
something about Digitally signed.

Anything about that.

Thank's for your reply.

Lori M Olson [TeamB] wrote:
Quote:
Matjaz Cof wrote:

I wrote simple applet to upload files(images) from client to server
with ftp. In JBuilder evrithing works fine.
But when I want to run the applet in browser (firefox or IE) I get the
message in the java console: accesscontrolException: access
denied(java.util.PropertyPermission user.dir read)

I asked unkle google for advice and if I correct understand I need the
signed jar for using JFileChooser that reads files from client.
So I click on JBuilder (2005) File -> new -> archive -> applet jar and
the fill all text field, and came to the chackbox: Digitaly signed
this archive. Here it stops. What I must to fill for the:
* keystore
* kestore password
* alias
* alias password
* store type.

Can anybody help me.
I appologize for broken english.

Matjaz Cof


This is an advanced topic for applets, mostly because it is a
multi-step, manual process. There are many articles published on the
subject. The JDK docs provide this:

http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/rsa_signing.html


The Java Glossary provides links to many resources on this topic:

http://mindprod.com/jgloss/signedapplets.html

Hopefully you will find what you need in there somewhere.


Back to top
Lori M Olson [TeamB]
Guest





PostPosted: Sat Sep 10, 2005 10:14 pm    Post subject: Re: Applet and reading files from client Reply with quote

Matjaz Cof wrote:
Quote:
I haven't checked your links yet, but it 's possible to do this in
JBuilder?
When you choose File -> new -> archive -> applet jar is the final step
something about Digitally signed.

Anything about that.

Thank's for your reply.


You can't sign things without a keystore. AFAIK, you can't make a
keystore from JBuilder.

JBuilder helps you with the last couple of steps of the process, but
there is a lot of setup involved to get to that stage.

--

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Back to top
Arthur Ore
Guest





PostPosted: Sun Sep 11, 2005 8:16 pm    Post subject: Re: Applet and reading files from client Reply with quote

I haven't got JBuilder 2005, so I can't comment on what can or can't be done
in it, but if you don't want to buy a certificate and your intended users
are intranet rather than internet based, where they would know they can
trust you or you company, then have a look at the steps on Paul Nichols' web
site for self-signing an applet.

http://www.computer-logic.net/javafaq/CodeSignApplets.html

Arth


"Matjaz Cof" <fora (AT) fora (DOT) cc> wrote

Quote:
I haven't checked your links yet, but it 's possible to do this in
JBuilder?
When you choose File -> new -> archive -> applet jar is the final step
something about Digitally signed.

Anything about that.

Thank's for your reply.




Back to top
Matjaz Cof
Guest





PostPosted: Mon Sep 19, 2005 12:43 pm    Post subject: Re: Applet and reading files from client Reply with quote

Thanks alot all of you.
I have to do 2 more exams in collage, so my programming has been delayed.
So i try what I have found on this link you gave it to me and evrithing
work perfekt.
The only problem is that my console in windows return:
Warning: The signer certificate will expire within six months.

What is this mean?

Thank you.

Arthur Ore wrote:
Quote:
I haven't got JBuilder 2005, so I can't comment on what can or can't be done
in it, but if you don't want to buy a certificate and your intended users
are intranet rather than internet based, where they would know they can
trust you or you company, then have a look at the steps on Paul Nichols' web
site for self-signing an applet.

http://www.computer-logic.net/javafaq/CodeSignApplets.html

Arth


"Matjaz Cof" <fora (AT) fora (DOT) cc> wrote in message
news:432331d8 (AT) newsgroups (DOT) borland.com...

I haven't checked your links yet, but it 's possible to do this in
JBuilder?
When you choose File -> new -> archive -> applet jar is the final step
something about Digitally signed.

Anything about that.

Thank's for your reply.





Back to top
Lori M Olson [TeamB]
Guest





PostPosted: Mon Sep 19, 2005 4:53 pm    Post subject: Re: Applet and reading files from client Reply with quote

Matjaz Cof wrote:
Quote:
Thanks alot all of you.
I have to do 2 more exams in collage, so my programming has been delayed.
So i try what I have found on this link you gave it to me and evrithing
work perfekt.
The only problem is that my console in windows return:
Warning: The signer certificate will expire within six months.

What is this mean?

Thank you.


Basically, all certificates expire, and the "free" type of certificates
expire a lot sooner.

It costs a LOT of money to by a certificate that will be valid for a
couple of years.

So, basically, don't worry about it.

--

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Applet Issues All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.