Hola
Los RDD
(Replaceable Database Drivers) que manejan las tablas en Harbour no tienen la opción de encriptarlas.
El único RDD que tiene esa opción es ADS
(Advantage Database Server) , pero este ya no tiene soporte por la empresa, descontinuo el producto.
Si se desea encriptar los datos hay que encriptar y desencriptar cada registro que se graba o se lee en las tablas, para esto se puede emplear la función Crypt.
SYNTAX
CRYPT(<cString>,<cKeystring>) --> cString
ARGUMENTS
<cString> Designates the string that is that is encrypted.
<cKeystring> Designates the password with which the string is encrypted.
RETURNS
CRYPT() returns the encrypted string.
Ejemplo:
PROCEDURE main()
LOCAL cVar
cVar:= CRYPT("HARBOUR", "Ca12567Vm")
? cVar
? CRYPT(cVar, "Ca12567Vm") // HARBOUR
RETURN
Información de Advantage Data Server 12
Encryption
Advantage provides the capability to encrypt tables and associated data. Data encryption is just one part of the process of creating a secure system. The following are some of the steps that can be taken to secure a database:
· Restrict physical access: Prevent direct user access by keeping all data on a physically remote server and using Advantage Database Server to access the data.
· Use access controls: Use a data dictionary with user logins to restrict who can connect to the database.
· Permissions: Use database roles and assign user and group permissions to fine-tune levels of access that users can have.
· Require logins: Disable free connections on the Advantage Database Server to force all connections to authenticate through a data dictionary.
· Encrypt communications: Enable the encryption of communications between the client and server application with Transport Layer Security (TLS) available beginning in v10.1 or with the existing encryption available with both UDP and TCP/IP communications.
· If requirements call for it, enable FIPS mode to ensure that only encryption algorithms approved for the Federal Information Processing Standard (FIPS) 140-2 are used.
· Encrypt data: Enable table encryption at the data dictionary level or in individual free tables.
The current topic discusses data encryption. It can be used with both free tables and data dictionary tables and with Advantage Local Server and Advantage Database Server. The general scheme is the same for all cases: Advantage uses a password to seed an encryption stream that is used to encrypt the data (plain text) into "unreadable" cipher text using a symmetric encryption algorithm.
Saludos
Marcos Jarrin
Hello,
The RDDs (Replaceable Database Drivers) that handle tables in Harbour do not have the option to encrypt them.
The only RDD that has that capability is ADS (Advantage Database Server), but it no longer has support from the company, as the product has been discontinued.
If you wish to encrypt data, you must encrypt and decrypt each record that is written to or read from the tables. For this, you can use the Crypt function.
SYNTAX
CRYPT(<cString>,<cKeystring>) --> cString
ARGUMENTS
<cString> Designates the string that is to be encrypted.
<cKeystring> Designates the password used to encrypt the string.
RETURNS
CRYPT() returns the encrypted string.
Example:
PROCEDURE main()
LOCAL cVar
cVar:= CRYPT("HARBOUR", "Ca12567Vm")
? cVar
? CRYPT(cVar, "Ca12567Vm") // HARBOUR
RETURN
Information about Advantage Data Server 12
Encryption
Advantage provides the capability to encrypt tables and associated data. Data encryption is just one part of the process of creating a secure system. The following are some of the steps that can be taken to secure a database:
· Restrict physical access: Prevent direct user access by keeping all data on a physically remote server and using Advantage Database Server to access the data.
· Use access controls: Use a data dictionary with user logins to restrict who can connect to the database.
· Permissions: Use database roles and assign user and group permissions to fine-tune levels of access that users can have.
· Require logins: Disable free connections on the Advantage Database Server to force all connections to authenticate through a data dictionary.
· Encrypt communications: Enable the encryption of communications between the client and server application with Transport Layer Security (TLS) available beginning in v10.1 or with the existing encryption available with both UDP and TCP/IP communications.
· If requirements call for it, enable FIPS mode to ensure that only encryption algorithms approved for the Federal Information Processing Standard (FIPS) 140-2 are used.
· Encrypt data: Enable table encryption at the data dictionary level or in individual free tables.
The current topic discusses data encryption. It can be used with both free tables and data dictionary tables and with Advantage Local Server and Advantage Database Server. The general scheme is the same for all cases: Advantage uses a password to seed an encryption stream that is used to encrypt the data (plain text) into "unreadable" cipher text using a symmetric encryption algorithm.
Best regards,
Marcos Jarrin