Skip to content
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

Explain why xhost is needed and address security concerns #3

Closed
gotjoshua opened this issue Feb 1, 2022 · 6 comments
Closed

Explain why xhost is needed and address security concerns #3

gotjoshua opened this issue Feb 1, 2022 · 6 comments

Comments

@gotjoshua
Copy link

The docker setup includes these two lines:

Step 3: Provide access of appflowy to X session
xhost local:root

I've set up a fair number of docker apps, and haven't seen it before, so it raises a yellow flag.

seems harmless enough in this context but some more details about why its needed will be great.

@MikeWallaceDev
Copy link
Contributor

Hi @gotjoshua thanks for bringing that to our attention. I didn't write the Dockerfile, it was provided by a contributor. Honestly, it doesn't work on my system, so I can't really test it out for alternatives.

What do you suggest that we add to the documentation?
In the future, when referring to the documentation, please use the Documentation repo
You can actually clone the documentation repo and submit a PR with your text.
Thanks!

@gotjoshua
Copy link
Author

In the future, when referring to the documentation, please use the Documentation repo

isn't this issue in the docs repo?
(confused)

i actually don't understand it enough to know what to write, thats why i asked...

@MikeWallaceDev
Copy link
Contributor

Oh geez, I'm sorry! Hahaha, my bad :-D

Well, I don't anything about it. The whole Dockerfile was a PR, and I didn't even know what xhost was. I looked into it through your links, and didn't see much to concern me. So that's why I asked you. :-)

Hopefully that Docker container won't be needed soon...

appflowy added a commit that referenced this issue Feb 24, 2022
refactor: Docker section and discourage usage of xhost (#3)
@annieappflowy
Copy link
Collaborator

Hi @gotjoshua , @PabloCastellano has made improvements based on the feedback. Can you check if your concern is resolved?

@gotjoshua
Copy link
Author

Looks good to me!

@annieappflowy
Copy link
Collaborator

Thanks for confirming. Closing the issue now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants