I have an application that use a .properties data containing password from DB, this application will be used by my client but I don't want to give him any kind of access to this properties data, not even if we look in the .jar. I thought to use zip4j but is there any another best solution for this because when I unzip it the .properties will be decompressed somewhere giving the client access to it doesn't it??
Use file data without giving anyone else permission
85 views Asked by Wendler Zacariotto At
1
There are 1 answers
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in PASSWORD-PROTECTION
- Password protected or private URL one-time viewable video access
- Export password protected PDF from QGIS
- How to pass through a VBA Project Password and remove the VBA Project Password via vb code
- How to password-protect an XLSX file in Python
- Changing users's passwords on Hashicorp Vault
- python check if compressed file is password-protected with just a small part of a file
- Write URL into ntag215 with password protection
- Securely safe credentials in a web-backend
- ThisWorkbook.Protect in Workbook_open() not working 100% of the time
- Edit password protected macro in Workbook 1 with another macro in Workbook 2
- VBA - Password prompts again when file is read only
- When I tap and immediately type, the UITextField freezes, but if I tap it then wait, type works
- NGINX password protection not working on Ubuntu 22
- Have I Hashed and Salted Correctly?
- Github claims somehow my password has been compromised and leaked. But there are no other evidences of it
Related Questions in ZIP4J
- zip4j - An error occurred while extracting files - Java
- Zip4j behavior in multithreaded environment
- Create empty zip file using Zip4j library
- Creating password protected zip file using zip4j - the password is on the files level but not on zip file level
- Got error "inappropriate format" when returning a file inside of a try block
- Password protect zip file with java
- What is the best way of getting files from AWS S3, inserting them into zip and uploading that zip to the bucket?
- Unable to zip symlinks that link to directories Zip4j
- Java - AES encrypting a zip file causes it to be corrupted
- what are special characters not allowed to set in net.lingala.zip4j.model.ZipParameters.setFileNameInZip?
- How to add a zipped folder inside an existing zip folder
- using zip4j library version 1.3.2
- Javafx Gradle make exception org.gradle.process.internal.ExecException finished with non-zero exit value 1 when use lib net.lingala.zip4j
- Generating Big Zip with streams[with zip4j] and uploading it to s3
- How to return an encrypted zip file using Java Spring boot zip4j
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
This cannot be done. Just forget about this idea and re-think your system. You can't provide read access not providing read access at the same time.
This is a wet dream of legal depts in the media industry. They invest piles of money in solving this insolvable problem with DRM that never works, but annoys everybody.
You can make it more annoying to extract the data - using various obfuscation techniques - but that's all.
One of those ideas is to encode the passoword in C++ library and link it via JNI. Then the user cannot extract it without disassembling the binary file, but will be able to make memory dump at runtime anyway.
You can read the password from central server at runtime. You can use one-time passwords for that. Again, this is futile if the user has modest technical skills, as you can still request the server for the password using curl or some simple script.
You can use hardware access-token that will allow connection to the database (smart-card or something). This was quite popular technique in '90.
All you can do is to add some level of annoyance which will stop non-technical person. With enough money you can build some decent DRM that will stop technical-savvy people for a while, but I seriously doubt it's worth the money.
If the database access is so precious that you can't give the user access to it, yet he needs it, your design is broken.