Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Security question

 
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.
 
Bartender
Posts: 9612
16
Mac OS X Linux 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
 
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


 
Or we might never have existed at all. Freaky. So we should cherish everything. Even this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic