SQL Injection (dbms_assert)

28.02.2008 at 14:38 (10g, 11g, Oracle, PL/SQL, Security)

Using SQL injection, a hacker can pass string input to an application in hopes of gaining unauthorized access to a database. Here is a nice tutorial about this subject and how to prevent it. It shows also the use of the undocumented (in 10g not in 11g) dbms_assert Package.

Tutorial

Permalink Kommentar schreiben

Oracle Clusterware: Third Voting disk on NFS

13.02.2008 at 14:21 (HPUX, Linux, Oracle, RAC)

A voting disk is a critical file for Oracle Clusterware. You must have at least 3 voting disks. If you have „only“ two SAN then you can configure the third on a NFS share.

Oracle supports now a third voting disk on NFS for HPUX. But only for HPUX 11.31 and Oracle Clusterware 10.2.0.2 onwards.

This white paper describse how to configure it:
Using standard NFS to support a third voting disk on an Extended Distance cluster configuration on Linux,AIX,HP, or Solaris (PDF)

Permalink Kommentar schreiben

Inheritance and Interface in Java

04.02.2008 at 15:23 (JAVA)

Here are some possibilities of how to use and mix inheritances and interfaces in Java.

implements: implements an interface to the class
extends: extends the subclass from the superclass

interface Ione {}
interface Itwo {}
interface Ithree extends Ione {}
interface Ifour extends Ione, Itwo {}
class Cone {}
class Ctwo extends Cone {}
class Cthree implements Ione {}
class Cfour extends Cone implements Ione {}
class Cfive extends Cone implements Ione, Itwo {} 

Permalink Kommentar schreiben