473,804 Members | 2,758 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Oracle and Encryption

OFM
I am running an oracle database with the application written in PHP.

I would like to be able to have the option to encrypt data residing in
certain columns in certain tables i.e. encrypt the SSNO column but not
the Fname column. I would like to keep it in its encrypted form in the
database but I would like to be able to show it to certain privileged
people based on a password.

Can public key encryption be incorporated here in the php application
such that if I can encrypt the data based on a key that in it self can
be encrypted in a way that you can revoke certain passwords if the
employee leaves - much that same way you have revocation lists
management in PGP.

Are there any suggestions on how to go about incorporating FLEXIBLE
encryption of data with PHP and Oracle?

Any help appreciated.

Oct 7 '06 #1
5 2585
OFM wrote:
I am running an oracle database with the application written in PHP.

I would like to be able to have the option to encrypt data residing in
certain columns in certain tables i.e. encrypt the SSNO column but not
the Fname column. I would like to keep it in its encrypted form in the
database but I would like to be able to show it to certain privileged
people based on a password.

Can public key encryption be incorporated here in the php application
such that if I can encrypt the data based on a key that in it self can
be encrypted in a way that you can revoke certain passwords if the
employee leaves - much that same way you have revocation lists
management in PGP.

Are there any suggestions on how to go about incorporating FLEXIBLE
encryption of data with PHP and Oracle?
You need a lot of help with this - I think you need to re-examine your
problems here. Do you really not trust the PHP code? If not how are you
going to securely supply decryption tokens to your running code? Where will
the users private keys reside? Do you really want public key encryption or
are you looking for shared keys? Can you afford the performance overhead of
per-attribute public key encryption?

If you are working some where that actually needs Oracle and this kind of
security, then really the people you work for should be able to rent a
consultant for a few days to work on this. But by the sound of things
you've not even got clear objectives of what you are trying to achieve.

C.

Oct 8 '06 #2
On Sat, 07 Oct 2006 17:14:58 -0400, OFM wrote:
I am running an oracle database with the application written in PHP.

I would like to be able to have the option to encrypt data residing in
certain columns in certain tables i.e. encrypt the SSNO column but not
the Fname column. I would like to keep it in its encrypted form in the
database but I would like to be able to show it to certain privileged
people based on a password.

Can public key encryption be incorporated here in the php application
such that if I can encrypt the data based on a key that in it self can
be encrypted in a way that you can revoke certain passwords if the
employee leaves - much that same way you have revocation lists
management in PGP.

Are there any suggestions on how to go about incorporating FLEXIBLE
encryption of data with PHP and Oracle?

Any help appreciated.
Oracle has something called "Advanced Security Option" which is a
commercial product and allows encryption of the entire database or parts
of it. There is also something called "VPD" (Virtual Private Database)
which allows users to see only the parts of the database they're entitled
to see. It takes a bit to set up, but it works really well. As for
revoking employee authorization once the employment is terminated, it
should be a standard practice. HR should have an application that would
disable VPN logins and logins to web visible applications and high
priority tickets to immediately revoke all access privileges should be
assigned to both system administration group and DBA group. Security is
not a part of an application, security is a philosophy that the company
must adhere to in everything it does.

--
http://www.mladen-gogala.com

Oct 9 '06 #3
z
Try DBMS_OBFUSCATIO N package for encryption and decryption.

You may see this link to know more about security.

VPD and there is another thing called OLS.

Both are explained well
http://free-advisory.com/forums/orac...num=1159027877

Regards,
Mladen Gogala wrote:
On Sat, 07 Oct 2006 17:14:58 -0400, OFM wrote:
I am running an oracle database with the application written in PHP.

I would like to be able to have the option to encrypt data residing in
certain columns in certain tables i.e. encrypt the SSNO column but not
the Fname column. I would like to keep it in its encrypted form in the
database but I would like to be able to show it to certain privileged
people based on a password.

Can public key encryption be incorporated here in the php application
such that if I can encrypt the data based on a key that in it self can
be encrypted in a way that you can revoke certain passwords if the
employee leaves - much that same way you have revocation lists
management in PGP.

Are there any suggestions on how to go about incorporating FLEXIBLE
encryption of data with PHP and Oracle?

Any help appreciated.

Oracle has something called "Advanced Security Option" which is a
commercial product and allows encryption of the entire database or parts
of it. There is also something called "VPD" (Virtual Private Database)
which allows users to see only the parts of the database they're entitled
to see. It takes a bit to set up, but it works really well. As for
revoking employee authorization once the employment is terminated, it
should be a standard practice. HR should have an application that would
disable VPN logins and logins to web visible applications and high
priority tickets to immediately revoke all access privileges should be
assigned to both system administration group and DBA group. Security is
not a part of an application, security is a philosophy that the company
must adhere to in everything it does.

--
http://www.mladen-gogala.com
Oct 9 '06 #4
On Mon, 09 Oct 2006 02:19:08 -0700, z@hid wrote:
Try DBMS_OBFUSCATIO N package for encryption and decryption.

You may see this link to know more about security.

VPD and there is another thing called OLS.
Oracle Label Security, which used to be known as "Trusted Oracle" is, to
my knowledge, not generally available. DBMS_OBFUSCATIO N was renamed to
DBMS_OBFUSCATIO N_TOOLKIT and it is a simple package which allows you
encrypt and decrypt things using DES and DES3 (aka "triple DES")
encryption. It doesn't say anything about the keys. As far as obfuscation
toolkit is concerned, one can have the key written on a sticky and
attached to his screen. I even saw that once.
DBMS_OBFUSCATIO N_TOOLKIT is not a security solution, nor was it ever
intended to be one.

--
http://www.mladen-gogala.com

Oct 9 '06 #5
If running on 10gR2, TDE (transparent data encryption) is the way to go.

http://www.oracle.com/technology/dep...ion/index.html

Pedro
Mladen Gogala wrote:
On Mon, 09 Oct 2006 02:19:08 -0700, z@hid wrote:
>Try DBMS_OBFUSCATIO N package for encryption and decryption.

You may see this link to know more about security.

VPD and there is another thing called OLS.

Oracle Label Security, which used to be known as "Trusted Oracle" is, to
my knowledge, not generally available. DBMS_OBFUSCATIO N was renamed to
DBMS_OBFUSCATIO N_TOOLKIT and it is a simple package which allows you
encrypt and decrypt things using DES and DES3 (aka "triple DES")
encryption. It doesn't say anything about the keys. As far as obfuscation
toolkit is concerned, one can have the key written on a sticky and
attached to his screen. I even saw that once.
DBMS_OBFUSCATIO N_TOOLKIT is not a security solution, nor was it ever
intended to be one.
Oct 9 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7147
by: Cliff | last post by:
We are trying to connect to 3 different Oracle databases using MS Access as the front-end and ODBC as the connection. The problem that we are having is that 1 of the databases requires a CRYPTO_SEED. With the sqlnet.ora file configured for the encryption, the other 2 databases won't connect and vise versa. Is there a way to make the connections use encryption when required and not use it when not required. We are using 9i client...
1
6684
by: William Brasky | last post by:
All - The project I'm on requires a secure connection between our Java J2EE application (running on BEA WebLogic 8.1) and Oracle 9i via JDBC. As I understand it, both the thin and thick Oracle JDBC drivers support encrypted connections to the database, but I believe both require the server to have Oracle Advanced Security installed. Is this true? Also, is there a way to perform secure (encrypted) JDBC calls to Oracle
11
10760
by: jrefactors | last post by:
I want to know the differences between SQL Server 2000 stored procedures and oracle stored procedures? Do they have different syntax? The concept should be the same that the stored procedures execute in the database server with better performance? Please advise good references for Oracle stored procedures also. thanks!!
5
3316
by: NormaJean Sebastian via DBMonster.com | last post by:
Hi, I almost read all of the "DB2 vs Oracle" thread... The summary I got from that was all databases essentially do the same things, the decision of which one you use primarily depends on available skillsets, software vendor support, and customer/tech support. I will be facing a decision on migrating our SAP Informix database to either Oracle, DB2UDB, or Sqlserver. I don't think we are going to SqlServer. I have some Oracle...
0
1715
by: Anonymous User | last post by:
Hi, I am working on a mobile application that consists of a number of handheld scanners, an Xml Web service and an Oracle 9i database in a highly secure environment. The .Net Compact Framework application running on the scanners executes Web service methods, which in turn execute Oracle database functions. The Web service and the Oracle database are running on separate servers. The Web service uses the Microsoft OLE DB driver for Oracle....
2
14254
by: Vinod Sadanandan | last post by:
All, Below listed are the new features in Oracle 11g ,please join me in this discussion to generate a testcase and analyze each of the listed features . Precompilers: Additional Array INSERT and SELECT Syntax Support by Pro*C/C++ and Pro*COBOL Precompilers: Dynamic SQL Statement Caching in Pro*C/C++ and Pro*COBOL Precompilers: Fix Execution Plan in Pro*C/C++ and Pro*COBOL Precompilers: Flexible B Area Length...
4
5432
by: nsung | last post by:
Recently we upgraded to Oracle 10g and added encryption on the server. I used to access the database tables via Active Server Pages with the following connection string: MyConnection.open "DSN=eisreport;Uid=eiu_sung;Pwd=xxxxx" After upgrading to 10g it stop working with the following error message. Microsoft OLE DB Provider for ODBC Drivers error '80004005' ORA-12154: TNS:could not resolve the connect identifier specified ...
3
3265
by: nsung | last post by:
Recently we upgraded to Oracle 10g and added encryption on the server. I used to access the database tables via Active Server Pages with the following connection string: MyConnection.open "DSN=eisreport;Uid=eiu_sung;Pwd=xxxxx" After upgrading to 10g it stop working with the following error message. Microsoft OLE DB Provider for ODBC Drivers error '80004005' ORA-12154: TNS:could not resolve the connect identifier specified ...
0
9576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10568
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10311
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5516
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.