ODP: Security Policy problem

2001-03-21 Thread Herchel Wojciech

i think applets are only allowed to connect back to the server they
originate from. this might be the problem, or better, consult JDBC faq from
www.jguru.com

vVolf


> -Oryginalna wiadomooeæ-
> Od: Sunny SJ [mailto:[EMAIL PROTECTED]]
> Wys³ano: 21 marca 2001 04:19
> Do: [EMAIL PROTECTED]
> Temat: Security Policy problem
> 
> 
> I am creating a Java Applet (running on Internet Explorer web 
> browser) that
> can access a database located in a remote machine (server).  
> The connection to
> the remote database is established using JDBC-ODBC bridge.  However, I
> encounter java security problem that restricted me to access 
> the database
> across the network.  Is there anyway I can overcome this problem?
> 
> Thanks for your help
> SSJ
> 
> 
> Get free email and a permanent address at 
http://www.netaddress.com/?N=1



Re: ODP: Security Policy problem

2001-03-21 Thread Rob Tanner

I believe that it's all controlled by the security policy settings on the local 
machine.  Untrusted applets (by default all applets are untrusted) are only allowed to 
make connections back to the host from which they were loaded as stated below.  To get 
around that, the applets should be signed, and the appropriate grant entries made into 
the local policy files.

But be aware that this is all much easier said than done.  Depending on 
the version of the browser, it may or may not support the Java 2 API. The original 
question was re: an applet running on internet explorer, but if in reality that was 
just a particular instance and the applet must really run on both ie and netscape, 
they each have their own browser-specific extensions to the JDK, in which case you 
need to deal with each vendor's product differently, or make sure everybody is using 
the Java plug-in.

-- Rob

--On Wednesday, March 21, 2001 08:38:45 AM +0100 Herchel Wojciech 
<[EMAIL PROTECTED]> wrote:

> i think applets are only allowed to connect back to the server they
> originate from. this might be the problem, or better, consult JDBC
> faq from www.jguru.com
>
> vVolf
>
>
>> -Oryginalna wiadomooeæ-
>> Od: Sunny SJ [mailto:[EMAIL PROTECTED]]
>> Wys³ano: 21 marca 2001 04:19
>> Do: [EMAIL PROTECTED]
>> Temat: Security Policy problem
>>
>>
>> I am creating a Java Applet (running on Internet Explorer web
>> browser) that
>> can access a database located in a remote machine (server).
>> The connection to
>> the remote database is established using JDBC-ODBC bridge.  However,
>> I encounter java security problem that restricted me to access  the
>> database
>> across the network.  Is there anyway I can overcome this problem?
>>
>> Thanks for your help
>> SSJ
>>
>> 
>> Get free email and a permanent address at
> http://www.netaddress.com/?N=1




   _ _ _ _   __ _ _ _ _
  /\_\_\_\_\/\_\ /\_\_\_\_\_\
 /\/_/_/_/_/   /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __/\/_//\/_/  PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_//\/_/
  /\/_/ \/_/  /\/_/_/\/_//\/_/ (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/ \/_/  appears profound)

  Rob Tanner
  McMinnville, Oregon
  [EMAIL PROTECTED]