Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading local files  RSS feed

 
Brian Wodlinger
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to read a text file in an applet, but every time I do, Netscape starts throwing security exceptions. Is there some way around this? Am I not reading the file properly?
Thanks in advance,
Brian.
 
Tim Holloway
Bartender
Posts: 18548
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unsigned applets are forbidden to access local files. Otherwise I could write an applet that would send me information off your computer you'd rather keep private.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!