Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > newbie questions about security

Reply
Thread Tools

newbie questions about security

 
 
Guest
Posts: n/a
 
      08-22-2003
1. If I run a Java Program (not Applet) locally in my PC, I can open/write/read files, Yes?
2. If I run a Java Program (not Applet) locally in my PC, can I connect/send/receive to remote servers?

3. If I run a Java Applet from server A (Web), and I need services from server B (Irc), what I can do?
4. Can I send a file from local to Applet's server?

5. I know I need something certificate. Its correct?
6. Where can I found one?
7. If I found one can I put it in all my Applets?



thanks a lot


 
Reply With Quote
 
 
 
 
Chris Smith
Guest
Posts: n/a
 
      08-22-2003
<- Chameleon -> wrote:
> 1. If I run a Java Program (not Applet) locally in my PC, I
> can open/write/read files, Yes?


Generally speaking, yes. Technically, it's up to the security manager
installed in the VM, but unless you go to pains to set up a security
manager that does NOT allow this, then yes, you can do so.

> 2. If I run a Java Program (not Applet) locally in my PC,
> can I connect/send/receive to remote servers?


Same answer as above. Generally speaking, yes.

> 3. If I run a Java Applet from server A (Web), and I need
> services from server B (Irc), what I can do?


You need to convince the security manager to let you do this. Normally,
this involves obtaining a certificate from a respected certificate
authority, and then digitally signing your applet to verify your
identity, and then requesting that you be able to do something that the
security manager would otherwise prohibit.

This looks like a good resource (I haven't read it, though):

http://www.suitable.com/docs/signing.html

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie with newbie questions JohnE ASP .Net 3 08-17-2009 10:10 PM
Newbie questions - Couple of VC++ questions regarding dlls and VB6 Ali Syed C Programming 3 10-13-2004 10:15 PM
Re: Questions....questions....questions Patrick Michael A+ Certification 0 06-16-2004 04:53 PM
Newbie: Security Questions MattC ASP .Net Security 1 05-18-2004 12:36 AM
IT-Security, Security, e-security COMSOLIT Messmer Computer Support 0 09-05-2003 08:34 AM



Advertisments