Signed Applets - grant codeBase doesn't work!

I've a signed applet that needs to read wave files from a folder in C:\Program Files. In the policy file, I've added these lines:

grant codeBase "http://www.mysite.com/-" {

permission java.io.FilePermission "C:
Program Files\\folder
-", "read";

}

The problem is I still get 'java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\folder\file1.wav read)' error.

But if I remove codeBase, it works fine. Can someone help me urgently?

Thanks a lot.

[564 byte] By [Haidaa] at [2007-11-26 23:09:53]
# 1
I have this same problem, too. If I put codeBase, the permissions don't get granted.
rainaia at 2007-7-10 14:05:16 > top of Java-index,Security,Signed Applets...