-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Secure path generation #2078
Comments
Adding a bounty as we need this, specially @jdubois :) |
as discussed with @pascalgrimaud, we'll start with 2 things to make this work:
|
Instead of "/tmp/jhlite" can we have "/jhlite"? |
ok so let me change the spec then:
In the front-end part, the value will be initialized with |
I think a spring profile may be better than a property for that since it will be easier to replace adapters implementations if needed |
Updated the bounty as it was more work than expected |
@jdubois you should now be able to use an env var named
Eventually UX could be better, but for now at least this is secured |
By default, path folder should be something like
/tmp/jhlite/xxxx
,xxxx
can be a random uuidSo the cloud version is usable
The value
/tmp/jhlite
should be inapplication.properties
Then, we can add a "local" profile, which will disable this feature and allow the user to choose the path folder he/she wants
The text was updated successfully, but these errors were encountered: