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
Restrict outbound clipboard #1298
Restrict outbound clipboard #1298
Conversation
Awesome! Good work! |
Existing codes use environment variable to pass config parameter. For example, CHANSRV_LOG_PATH. |
Should env be the only way of setting restriction on the clipboard or additional method? In my opinion config is less surprising. @metalefty |
One unacceptable point is chansrv is opening and reading sesman's config file |
Adding |
OK. Sesman gathers info from sesman.ini and then passes information about restriction to chansrv, right? |
|
Indeed. That should be fixed but not at this time. I'll change it later. I'm thinking of this. Similar thing is done as sesman
chansrv
|
@metalefty Can I do something more to improve the code? |
@jaroslaw-osmanski Give me some time to test. |
I commented on some style & format issues but logic looks OK. After some test, I'll merge. I'd appreciate if you fix style & format before I merge. |
@metalefty Fixed style and format |
I'm testing this today and will be merged shortly. Sorry for the delay and thank you very much for your work! |
Tested. Clipboard text/image/file LGTM. |
Can I only pass text copy&paste and limit file transfer ? |
This patch adds configuration option to xrdp-chansrv that turns copying from the session to clipboard.