-
Notifications
You must be signed in to change notification settings - Fork 18
Create explanation-of-the-security-manager-for-the-JDBC-driver-and-th… #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
## Problem | ||
|
||
You can disable the Security Manager by setting NOSECURITY=YES in the JDBC driver configuration, as shown in the following example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is not a problem, but a solution to the problem.
...es/explanation-of-the-security-manager-for-the-JDBC-driver-and-the-impact-of-disabling-it.md
Outdated
Show resolved
Hide resolved
…e-impact-of-disabling-it.md Problem => Question
...es/explanation-of-the-security-manager-for-the-JDBC-driver-and-the-impact-of-disabling-it.md
Show resolved
Hide resolved
|
||
## Recommendation | ||
|
||
To ensure security, always download the Exasol JDBC driver from an official and trusted source. After downloading, verify the checksum to confirm the file’s integrity and that it hasn’t been tampered with. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is less about the Exasol JDBC driver, but about JDBS drivers required by virtual schemas and the IMPORT command.
...es/explanation-of-the-security-manager-for-the-JDBC-driver-and-the-impact-of-disabling-it.md
Outdated
Show resolved
Hide resolved
...es/explanation-of-the-security-manager-for-the-JDBC-driver-and-the-impact-of-disabling-it.md
Outdated
Show resolved
Hide resolved
...es/explanation-of-the-security-manager-for-the-JDBC-driver-and-the-impact-of-disabling-it.md
Outdated
Show resolved
Hide resolved
...es/explanation-of-the-security-manager-for-the-JDBC-driver-and-the-impact-of-disabling-it.md
Outdated
Show resolved
Hide resolved
…JDBC-driver-and-the-impact-of-disabling-it.md Co-authored-by: Christoph Pirkl <[email protected]>
…e-impact-of-disabling-it.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a couple of suggestions.
...es/explanation-of-the-security-manager-for-the-JDBC-driver-and-the-impact-of-disabling-it.md
Outdated
Show resolved
Hide resolved
|
||
Setting the NOSECURITY flag to YES disables Java Security Manager, allowing function calls without additional checks. | ||
|
||
The Java Security Manager provides detailed control over which functions are permitted to run in your environment. However, configuring these settings can be complex and time-consuming. In the past, we tried to whitelist only the functions that JDBC drivers required. However, because the drivers frequently change and add new functions with each update, maintaining an accurate whitelist soon became impractical—especially since ExaLoader would then require a comprehensive list covering all functions for all drivers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While that's true in general, for the latest occurrences JDBC connection that IMPORT tried to establish just hung until one disables Security Manager. So we had no exception stating which class / method wasn't allowed so we had no particular item to whitelist.
So it's not only time consuming (many third party drivers) and in vain (because the component is deprecated by Java platform), but also simply not always possible. This aspect might show us in even better light, so maybe you can adapt the article accordingly?
…JDBC-driver-and-the-impact-of-disabling-it.md Co-authored-by: allipatev <[email protected]>
…e-impact-of-disabling-it.md
…e-impact-of-disabling-it.md
…e-impact-of-disabling-it.md
https://exasol.lightning.force.com/lightning/r/Case/500aV00000ZhIDgQAN/view