| Author |
Security question
|
Sameera Abeysinghe
Ranch Hand
Joined: Nov 15, 2004
Posts: 104
|
|
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
Joined: Oct 29, 2001
Posts: 8263
|
|
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.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
Sameera Abeysinghe
Ranch Hand
Joined: Nov 15, 2004
Posts: 104
|
|
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
Joined: Aug 26, 2005
Posts: 824
|
|
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
|
Lack of will power has caused more failure than lack of intelligence or ability.
My Blog | Red5 Resources | Technology Update | Daily Technology Tips
|
 |
Sunil Kumar Gupta
Ranch Hand
Joined: Aug 26, 2005
Posts: 824
|
|
Also check this once http://java.sun.com/sfaq/#prevent
|
 |
 |
|
|
subject: Security question
|
|
|