title: Java Read File Permissions
body: <p>I was wondering if anybody can show me way to be able to create read file permissions for my java applet. </p>
  
  <p>The exact exception I receive is </p>
  
  <pre><code>java.security.AccessControlException: access denied(java.io.FilePermission filename.pdf write)
  </code></pre>
  
  <p>I've put <code>f.setReadable</code> and <code>f.setWriteable</code> where <code>f</code> is the file and nothing. A little help please.</p>