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

Question about security / ssl of VM created with gce_vm() #187

Open
ben519 opened this issue Apr 12, 2022 · 2 comments
Open

Question about security / ssl of VM created with gce_vm() #187

ben519 opened this issue Apr 12, 2022 · 2 comments
Assignees
Labels

Comments

@ben519
Copy link

ben519 commented Apr 12, 2022

Hey Mark, I have (probably) a dumb question..

Suppose I create a VM like

vm1 <- gce_vm(
  template = "rstudio",
  name = "myvm",
  username = "hello",
  password = "A8NW26!msi?s>",
  predefined_type = "n1-standard-1"
)

I've always just assumed this would be "secure", but I usually access the VM via a public IP which is not SSL encrypted.

Screen Shot 2022-04-12 at 10 08 11 AM

So, if I were to pull my project from github onto this VM using a secret github access token, someone could steal my token, correct?

How do you deal with this issue? Should I give the IP an SSL certificate? If so, can you point me in the right direction for learning how to do this?

Thanks!

@MarkEdmondson1234
Copy link
Collaborator

Http connections can be intercepted potentially but this doesn't necessarily mean your RStudio password is insecure for example, or any user can see your data. I can't give security advice over GitHub issue but consider your use case, perhaps the risk is low. There are methods to vastly improve various aspects, such as https but that on its own by no means guarantees security

@ben519
Copy link
Author

ben519 commented Apr 12, 2022

Thanks, I'll send you a follow up email.

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

No branches or pull requests

2 participants