Oracle Spatial Data encryption operations

Source: Internet
Author: User

Today we are going to discuss with you the Oracle Spatial Data Encryption issue. The information I saw on the relevant website two days ago is very useful, so I will share it with you today. I hope it will help you in this regard.

Features of Oracle 9i2:

1. the return value is a function of the custom object type. For example, SDO_GEOMETRY data type.

2. You can use Java or C to write stored procedures.

The advanced Oracle Spatial function can use a user-defined function with the return value of the SDO_GEOMETRY data type to obtain Spatial data as a geometric column.

Oracle Spatial Data Encryption implementation:

1. Simple data encryption.

1) create a user-defined function that returns the SDO_GEOMETRY data type, decrypt the SDO_GEOMETRY data from BLOB (or any other data type) data, and return the data.

2) In the decryption process, you need to input a key parameter to the function. This key parameter comes from your client or Web application.

In this way, no one else can parse the data stored in Spatial.

2. Advanced Oracle Spatial Data encryption.

1) Use the C language to create a user-defined function with the return value of the SDO_GEOMETRY data type, decrypt the SDO_GEOMETRY data from BLOB (or any other data type) data, and return the data. This step requires OCI interface-related programming technology, so the implementation is more difficult.

2) the C language program reads the hardware code of the machine and obtains the server key after computation.

3) when reading data, you also need to input the client key parameters to the function. The combination of the two keys is the final key that can decrypt the data. Of course, Oracle Spatial Data Encryption is also required when data is stored in the database.

In this way, your space data can only be obtained by specific clients and servers, and cannot be obtained by other programs.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.