Which framework did you write your app (Spring Boot, Grails, GWT, Vaadin, …)?

|
Jaschar 2022-06-25 14:20:37
Or in other words:
Which of your components is the database client?
JorgeXYZPT 2022-06-25 14:20:38
i didnt understand your question
JorgeXYZPT 2022-06-25 14:21:28
options? -_-
Jaschar 2022-06-25 14:28:56
“Because Always Encrypted is a client-side encryption technology, most of the performance overhead is observed on the client side, not in the database.”
https://docs.microsoft.com/en-us/sql/connect/jdbc/using-always-encrypted-with-the-jdbc-driver?view=sql-server-ver16#controlling-the-performance-impact-of-always-encrypted

Use Always Encrypted with the JDBC driver – JDBC Driver for SQL ServerDocs
Learn how to use Always Encrypted with the JDBC driver to encrypt sensitive data on the server.
Jaschar 2022-06-25 14:30:19
The database client need to handle the certificates because it is a (database) client side encryption.
Jaschar 2022-06-25 14:30:59
This is why I ask: Which component is the database client in your architecture?
JorgeXYZPT 2022-06-25 19:35:21
Jaschar 2022-06-25 14:30:59
This is why I ask: Which component is the database client in your architecture?

I didnt understand your question

JorgeXYZPT 2022-06-25 19:35:29
say examples
JorgeXYZPT 2022-06-25 19:35:31
options?
martin_angelo 2022-06-26 11:18:45
JorgeXYZPT 2022-06-25 14:03:57
if i import certificate, all user have acess

Is this something, you want to avoid? I mean, you want all users to have access, or you don’t want all users to have access?

martin_angelo 2022-06-26 23:50:12
@JorgeXYZPT
I also need your answers to these questions in order to help you:
1. Is it a WebApp or Android app?
2. Which framework did you write your app (Spring Boot, Grails, GWT, Vaadin, …)?
3. How is your app connecting to the database (e.g. Spring Data JPA, JDBC, …)?
4. What Database do you use (e.g. Oracle, MongoDB, Postgress, …)?
Beast 2022-06-27 11:23:22
Thanks
GroupHelpBot 2022-06-27 11:23:23
Beast [222528444] In order to be accepted in the group, please set up a username.
Action: Muted 🔇
JorgeXYZPT 2022-06-27 13:20:12
Example:
Generated Always Encrypted only to Column Age, Column Name is plain text.
Table X

Column Name | Column Age

Rita | 50

João | 20

______________________

User X (can not see age)

User Y (can see age)

JorgeXYZPT 2022-06-27 13:22:33
martin_angelo 2022-06-26 23:50:12
@JorgeXYZPT
I also need your answers to these questions in order to help you:
1. Is it a WebApp or Android app?
2. Which framework did you write your app (Spring Boot, Grails, GWT, Vaadin, …)?
3. How is your app connecting to the database (e.g. Spring Data JPA, JDBC, …)?
4. What Database do you use (e.g. Oracle, MongoDB, Postgress, …)?

1. WebApp
2. Adoptopen JDK 8 (LTS) (Open JDK 8 x64), Hibernate 5.6
3. JDBC Driver Version 8.4
4. SQL Server

martin_angelo 2022-06-27 15:14:26
Thank you for the answers
martin_angelo 2022-06-27 15:16:18
JorgeXYZPT 2022-06-27 13:20:12
Example:
Generated Always Encrypted only to Column Age, Column Name is plain text.
Table X

Column Name | Column Age

Rita | 50

João | 20

______________________

User X (can not see age)

User Y (can see age)

I still don’t understand 100% the behavior you want to implement….do you want to have a column, that only a specific user can see? Or do you want to have specific values that only the user connected to the dataset can see? Or do you want all users to see all the data?

JorgeXYZPT 2022-06-27 16:08:22
Example:
JorgeXYZPT 2022-06-27 16:11:31
Example:
Generated Always Encrypted (certificate) only to Column Age, Column Name is plain text.

Table X
Column Name | Column Age
Rita | 50
João | 20

Front end (view) User X (can not see age):
Column Name: Rita
Column Age: 8324u32jrjmfdmasdmads (encrypted)

Front end (view) User Y (can see age):
Column Name: Rita
Column Age: 50

martin_angelo 2022-06-27 16:59:42
You are not exactly answering my question….
|