java.security.AccessControlException: access denied



Hi,
Iam creating an audio player applet. Iam getting the audio inputstream
by the folloing line of code

stream = AudioSystem.getAudioInputStream(new
URL("http://hostname/path/audiofile.wav";));


But when we execute this i get the following
error.......................

java.security.AccessControlException: access denied
(java.net.SocketPermission [hostname] resolve)


How to fix this problem in java applet. Is there any other way to get
an audiofile in the web otherthan URL method???? Kindly reply.

Yours,
Sundar

.



Relevant Pages

  • java.security.AccessControlException
    ... Iam creating an audio player applet. ... stream = AudioSystem.getAudioInputStream(new ... But when we execute this i get the following ...
    (comp.lang.java.security)
  • UnicodeEncode Error ?
    ... iam getting the below error. ... return self.cursor.execute(sql, params) ... base.py", line 83, in execute ... query = query % db.literal ...
    (comp.lang.python)
  • Regarding brodcasting of recorded session
    ... i need to restrict clients to forward, pause, rewind the stream. ... I recoreded one session using windows media encoder ... Iam able to view the above session in client machine using ...
    (microsoft.public.windowsmedia.server)
  • Re: Penetration test requested!
    ... of course is my page but iam not advertising a product. ... > it with my browser. ... Aaahh! ... make him execute a command `dir\ but nothing happened.... ...
    (comp.security.firewalls)
  • Combining two row into one
    ... iam trying to make a query which will return 1 row with n+n columns ... VB & then execute it.... ... Trust iam clear. ... Rajat's Profile: http://www.hightechtalks.com/m876 ...
    (microsoft.public.access.queries)