| | |
AccessControlException (access denied)
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2004
Posts: 2,108
Reputation:
Solved Threads: 18
I can can use a BufferedReader to open a Streamat the command line, like this:
Once I try to use this same statement inside of my applet, I get an AccessControlException. I know it's something to do with security, but how do you get around that?
Java Syntax (Toggle Plain Text)
BufferedReader br = new BufferedReader(new InpuStreamReader(URL.openStream()));
Once I try to use this same statement inside of my applet, I get an AccessControlException. I know it's something to do with security, but how do you get around that?
•
•
Join Date: Mar 2004
Posts: 777
Reputation:
Solved Threads: 39
Applets do not allow access outside of there local domain. This link might help.
http://java.sun.com/sfaq/
http://java.sun.com/sfaq/
![]() |
Similar Threads
- On a simple network, Access is denied (Networking Hardware Configuration)
- Access denied from files. (Windows NT / 2000 / XP)
- Windows XP Access Denied to slave drive files (Windows NT / 2000 / XP)
- Access Denied in external drive (Storage)
- Unable to install Active Directory; Access is denied (Windows NT / 2000 / XP)
- can't delet...access denied (Viruses, Spyware and other Nasties)
- Access is denied? Shared folders (Networking Hardware Configuration)
Other Threads in the Java Forum
- Previous Thread: Tables
- Next Thread: Please anyone help tweak my code The code tags are around it now
| Thread Tools | Search this Thread |
Tag cloud for Java
2dgraphics addball android api apple applet application arguments array arrays automation bidirectional binary blackberry bluetooth business chat class classes client code collections component database derby dragging draw eclipse educational error event exception fractal game givemetehcodez graphics gui hql html hyper ide image ingres input integer internet ip j2me java javadesktopapplications javaprojects jmf jni jpanel julia linux list loop looping map method methods mobile myregfun mysql netbeans newbie number numbers oracle phone print problem producer program programming project recursion scanner screen server set size sms smsspam socket sort sql string swing swt tcp test threads time tree ubuntu ui websites windows






