Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security question

 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Manly the only deference between applets (web based) and frames (normal applications) is come with this security problem. To access all the features of java we must sing the applet and it will prompt the security question.
If we did not sing the applet we will not be able to access all the java features.
My question is
I want to know what features, classes, methods and variables etc� that I can access from an applet without singing it

And is there a way to sing an applet but the user will not get any prompts or any kind of warnings

Thank You.
 
Joe Ess
Bartender
Posts: 9302
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your questions are answered by the Java Tutorial: Applet Security Restrictions
There is no way to get around prompting the user with the security credential.
 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot,
then what about my other question

�I want to know what features, classes, methods and variables etc� that I can access from an applet without singing it�

Ex..
I can create a object from the JButton class but I can't create a object from the Robot Class (In Applets)

Likewise from all the classes, interfaces, etc�. what features, interfaces, classes, methods and variables etc�that I can access without singing the Applet

Thanks a lot

I still did not check the link u have send
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unsigned applet can not perform

1. Read files on the client file system.
2. Write files to the client file system.
3. Delete files on the client file system.
4. Rename files on the client file system.
5. Create a directory on the client file system.
6. List the contents of a directory.
7. Check to see whether a file exists.
8. Obtain information about a file, including size, type, and modification timestamp.
9. Create a network connection to any computer other than the host from which it originated.
10. Listen for or accept network connections on the client system.
11. Create a top-level window without an untrusted window banner. (All windows created by an applet are labeled as insecure so the user knows where they came from.)
12. Obtain the user's username or home directory name through any means.
13. Define any system properties.
14. Run any program on the client system.
15. Make the Java interpreter exit.
16. Load dynamic libraries (DLLs) on the client system.
17. Create or manipulate any thread that is not part of the same applet. 18. Install permanent new Java components on the system.


If u want all above feature in ur applet , go and sign it

 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also check this once

http://java.sun.com/sfaq/#prevent


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic