Unix Technical Forum

Make a database accessible over the internet

This is a discussion on Make a database accessible over the internet within the Oracle Database forums, part of the Database Server Software category; --> Hello everyone, I'm currently evaluating methods for making our database accessible from the outside (->Internet) (for e.g. field staff). ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008, 07:27 AM
Marcus Ilgner
 
Posts: n/a
Default Make a database accessible over the internet

Hello everyone,

I'm currently evaluating methods for making our database accessible from
the outside (->Internet) (for e.g. field staff).
The Oracle Security Guide states that poking a hole through the firewall
on port 1521 isn't (obviously) a good idea, which, I guess, applies
whether the listener is password protected or not.
So I have currently considered the following approaches:
1) set up a VPN to connect the external PC to the Intranet.
2) use TCPS in combination with a certificate/wallet as a listener
protocol and let the TCPS listener port through the firewall.
3) use an application level proxy to additionally tighten security (<- but
I couldn't find one)

I searched the Internet and found that Oracle works somewhat like FTP,
i.e. it uses a randomly negotiated port for a reconnect, which would make
approach No 2 unusable if not the firewall was also equipped with a
special plugin, which I couldn't find either.

So my question is if you can explicitly recommend one approach (or a
combination) over the other. Maybe you could also help me out with some
discussion URL on that topic or such, as I couldn't discover a helpful one.

Greetings and many thanks
Marcus

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 07:27 AM
Mark Bole
 
Posts: n/a
Default Re: Make a database accessible over the internet

Marcus Ilgner wrote:

> Hello everyone,
>
> I'm currently evaluating methods for making our database accessible from
> the outside (->Internet) (for e.g. field staff).
> The Oracle Security Guide states that poking a hole through the firewall
> on port 1521 isn't (obviously) a good idea, which, I guess, applies
> whether the listener is password protected or not.
> So I have currently considered the following approaches:
> 1) set up a VPN to connect the external PC to the Intranet.
> 2) use TCPS in combination with a certificate/wallet as a listener
> protocol and let the TCPS listener port through the firewall.
> 3) use an application level proxy to additionally tighten security (<- but
> I couldn't find one)
>
> I searched the Internet and found that Oracle works somewhat like FTP,
> i.e. it uses a randomly negotiated port for a reconnect, which would make
> approach No 2 unusable if not the firewall was also equipped with a
> special plugin, which I couldn't find either.
>
> So my question is if you can explicitly recommend one approach (or a
> combination) over the other. Maybe you could also help me out with some
> discussion URL on that topic or such, as I couldn't discover a helpful one.
>
> Greetings and many thanks
> Marcus
>


There is a "port forwarding" feature available with the SSH (secure
shell) family of commands. Try searching Google "ssh port forwarding
oracle", you'll find plenty of links.

It's been a few years since I last used it, but it does work with Oracle
if set up properly, your firewall only needs to allow SSH (port 22)
IIRC. Depending on your platform, it may already be bundled with the
OS, you may have to download and compile SSH yourself, or buy a
commercial package.

HTH,

--Mark Bole

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 07:27 AM
Pete Finnigan
 
Posts: n/a
Default Re: Make a database accessible over the internet

>There is a "port forwarding" feature available with the SSH (secure
>shell) family of commands. Try searching Google "ssh port forwarding
>oracle", you'll find plenty of links.
>
>It's been a few years since I last used it, but it does work with Oracle
>if set up properly, your firewall only needs to allow SSH (port 22)
>IIRC. Depending on your platform, it may already be bundled with the
>OS, you may have to download and compile SSH yourself, or buy a
>commercial package.

Hi,

There are two links to papers that show how to use ssh with Oracle.
These are on http://www.petefinnigan.com/orasec.htm - use CTRL-F on the
page and search for ssh.

kind regards

Pete
--
Pete Finnigan
emailete@petefinnigan.com
Web site: http://www.petefinnigan.com - Oracle security audit specialists
Book:Oracle security step-by-step Guide - see http://store.sans.org for details.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-24-2008, 07:27 AM
Galen Boyer
 
Posts: n/a
Default Re: Make a database accessible over the internet

Oracle does support an http sqlplus client.
--
Galen Boyer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-24-2008, 07:27 AM
Steve
 
Posts: n/a
Default Re: Make a database accessible over the internet

Marcus Ilgner wrote:
> Hello everyone,
>
> I'm currently evaluating methods for making our database accessible from
> the outside (->Internet) (for e.g. field staff).
> The Oracle Security Guide states that poking a hole through the firewall
> on port 1521 isn't (obviously) a good idea, which, I guess, applies
> whether the listener is password protected or not.
> So I have currently considered the following approaches:
> 1) set up a VPN to connect the external PC to the Intranet.
> 2) use TCPS in combination with a certificate/wallet as a listener
> protocol and let the TCPS listener port through the firewall.
> 3) use an application level proxy to additionally tighten security (<- but
> I couldn't find one)
>
> I searched the Internet and found that Oracle works somewhat like FTP,
> i.e. it uses a randomly negotiated port for a reconnect, which would make
> approach No 2 unusable if not the firewall was also equipped with a
> special plugin, which I couldn't find either.
>
> So my question is if you can explicitly recommend one approach (or a
> combination) over the other. Maybe you could also help me out with some
> discussion URL on that topic or such, as I couldn't discover a helpful one.
>
> Greetings and many thanks
> Marcus
>

https?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-24-2008, 07:27 AM
Hans Forbrich
 
Posts: n/a
Default Re: Make a database accessible over the internet

http://htmldb.oracle.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-24-2008, 07:27 AM
Mark C. Stock
 
Posts: n/a
Default Re: Make a database accessible over the internet


"Marcus Ilgner" <Marcus.Ilgner@gerig.de> wrote in message
newsan.2004.09.13.14.53.31.160993@gerig.de...
| Hello everyone,
|
| I'm currently evaluating methods for making our database accessible from
| the outside (->Internet) (for e.g. field staff).
| The Oracle Security Guide states that poking a hole through the firewall
| on port 1521 isn't (obviously) a good idea, which, I guess, applies
| whether the listener is password protected or not.
| So I have currently considered the following approaches:
| 1) set up a VPN to connect the external PC to the Intranet.
| 2) use TCPS in combination with a certificate/wallet as a listener
| protocol and let the TCPS listener port through the firewall.
| 3) use an application level proxy to additionally tighten security (<- but
| I couldn't find one)
|
| I searched the Internet and found that Oracle works somewhat like FTP,
| i.e. it uses a randomly negotiated port for a reconnect, which would make
| approach No 2 unusable if not the firewall was also equipped with a
| special plugin, which I couldn't find either.
|
| So my question is if you can explicitly recommend one approach (or a
| combination) over the other. Maybe you could also help me out with some
| discussion URL on that topic or such, as I couldn't discover a helpful
one.
|
| Greetings and many thanks
| Marcus
|
Marcus,

What's the goal of making the database accessible over the internet?
Application access?
Application development?
Ad-hoc reporting?
What tools/interfaces will the 'outside' users be using?
Are you using (can you use) Oracle's Application Server (iAS)?

++ mcs


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-24-2008, 07:27 AM
Joel Garry
 
Posts: n/a
Default Re: Make a database accessible over the internet

Marcus Ilgner <Marcus.Ilgner@gerig.de> wrote in message news:<pan.2004.09.13.14.53.31.160993@gerig.de>...
> Hello everyone,
>
> I'm currently evaluating methods for making our database accessible from
> the outside (->Internet) (for e.g. field staff).
> The Oracle Security Guide states that poking a hole through the firewall
> on port 1521 isn't (obviously) a good idea, which, I guess, applies
> whether the listener is password protected or not.
> So I have currently considered the following approaches:
> 1) set up a VPN to connect the external PC to the Intranet.
> 2) use TCPS in combination with a certificate/wallet as a listener
> protocol and let the TCPS listener port through the firewall.
> 3) use an application level proxy to additionally tighten security (<- but
> I couldn't find one)
>
> I searched the Internet and found that Oracle works somewhat like FTP,
> i.e. it uses a randomly negotiated port for a reconnect, which would make
> approach No 2 unusable if not the firewall was also equipped with a
> special plugin, which I couldn't find either.


Most of the modern firewall products have the negotiation of this
built in.

You can use several products within Oracle to deal with this.
http://download-west.oracle.com/docs...a96582/toc.htm
see esp. ch. 9.

VPN works, but I've only seen it be slow (since I'm normally using it
to take over a PC remotely with a broadband connection and then using
emulation products).

>
> So my question is if you can explicitly recommend one approach (or a
> combination) over the other. Maybe you could also help me out with some
> discussion URL on that topic or such, as I couldn't discover a helpful one.


If you have metalink access, there are a number of notes that explain
specific ways to do things, like
http://metalink.oracle.com/metalink/... p_id=270160.1
and http://metalink.oracle.com/metalink/... p_id=125021.1

Also check out otn.oracle.com, lots of stuff on there.
http://www.oracle.com/technology/pro...-practices.pdf

jg
--
@home.com is bogus.
DJ: "Hef, every straight guy in the world wants to be you for one
day."
Hugh Hefner: "Even some gay guys do."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-24-2008, 07:27 AM
rich
 
Posts: n/a
Default Re: Make a database accessible over the internet

This kind of depends on what your field staff do. Are they end users
of an application? Are the dba's working at a client site? If app
users, then build a password protected extranet. If dbas, then just
set up ssh to get inside your firewall.

Rich



Marcus Ilgner <Marcus.Ilgner@gerig.de> wrote in message news:<pan.2004.09.13.14.53.31.160993@gerig.de>...
> Hello everyone,
>
> I'm currently evaluating methods for making our database accessible from
> the outside (->Internet) (for e.g. field staff).
> The Oracle Security Guide states that poking a hole through the firewall
> on port 1521 isn't (obviously) a good idea, which, I guess, applies
> whether the listener is password protected or not.
> So I have currently considered the following approaches:
> 1) set up a VPN to connect the external PC to the Intranet.
> 2) use TCPS in combination with a certificate/wallet as a listener
> protocol and let the TCPS listener port through the firewall.
> 3) use an application level proxy to additionally tighten security (<- but
> I couldn't find one)
>
> I searched the Internet and found that Oracle works somewhat like FTP,
> i.e. it uses a randomly negotiated port for a reconnect, which would make
> approach No 2 unusable if not the firewall was also equipped with a
> special plugin, which I couldn't find either.
>
> So my question is if you can explicitly recommend one approach (or a
> combination) over the other. Maybe you could also help me out with some
> discussion URL on that topic or such, as I couldn't discover a helpful one.
>
> Greetings and many thanks
> Marcus

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-24-2008, 07:29 AM
Marcus Ilgner
 
Posts: n/a
Default Re: Make a database accessible over the internet

On Mon, 13 Sep 2004 15:36:42 -0400, Mark C. Stock wrote:

>
> "Marcus Ilgner" <Marcus.Ilgner@gerig.de> wrote in message
> newsan.2004.09.13.14.53.31.160993@gerig.de...
> | Hello everyone,
> |
> | I'm currently evaluating methods for making our database accessible from
> | the outside (->Internet) (for e.g. field staff). The Oracle Security
> | Guide states that poking a hole through the firewall on port 1521 isn't
> | (obviously) a good idea, which, I guess, applies whether the listener is
> | password protected or not. So I have currently considered the following
> | approaches: 1) set up a VPN to connect the external PC to the Intranet.
> | 2) use TCPS in combination with a certificate/wallet as a listener
> | protocol and let the TCPS listener port through the firewall. 3) use an
> | application level proxy to additionally tighten security (<- but I
> | couldn't find one)
> |
> | I searched the Internet and found that Oracle works somewhat like FTP,
> | i.e. it uses a randomly negotiated port for a reconnect, which would
> | make approach No 2 unusable if not the firewall was also equipped with a
> | special plugin, which I couldn't find either.
> |
> | So my question is if you can explicitly recommend one approach (or a
> | combination) over the other. Maybe you could also help me out with some
> | discussion URL on that topic or such, as I couldn't discover a helpful
> one.
> |
> | Greetings and many thanks
> | Marcus
> |
> Marcus,
>
> What's the goal of making the database accessible over the internet?
> Application access?
> Application development?
> Ad-hoc reporting?
> What tools/interfaces will the 'outside' users be using? Are you using
> (can you use) Oracle's Application Server (iAS)?
>
> ++ mcs


Hi Mark,

thank you (and the others, of course) for your feedback. The goal is to
enable remote users to use our in-house business application (a Java
application which uses JDBC to connect to the DB) to check stock
availability, browse the music repertoire or remotely place orders.
So it is of importance that the process of establishing a secure
connection is completely transparent to the user.

Greetings
Marcus

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com