bowenliang123 opened a new issue, #3839:
URL: https://github.com/apache/incubator-kyuubi/issues/3839

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the feature
   
   To introduce asymmetric encryption signing to prevent manipulation on user 
identity, which could cause privilege leaking in scripts.
   
   - Authz plugin relies on `kyuubi.session.user` local property of the spark 
session to identify end-user for authorization checking
   - `kyuubi.session.user` could be easily changed in scala or python script
   - use RSA to sign and verify the integrity of `kyuubi.session.user`, by 
generating a signature with the private key on the server side and verifying 
sign with a public key on the Spark engine side.
   
   ### Motivation
   
   _No response_
   
   ### Describe the solution
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes. I can submit a PR independently to improve.
   - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi 
community to improve.
   - [ ] No. I cannot submit a PR at this time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to