{"__v":4,"_id":"56696a5155e4b32100935db5","category":{"__v":15,"_id":"54cfba0ebba1a023008741b8","pages":["54d0331dc795960d009f4213","54d0333f94f7980d0081b83e","54d03369f530ca0d0005395d","54d0338894f7980d0081b840","54d033a8c795960d009f4216","54d033df94f7980d0081b842","54d0340094f7980d0081b844","54d034d0f530ca0d00053960","5531432b29603d2300011386","553529553ad5c90d00d0609c","5537df420899730d0081368a","553a6c030074c80d00621bd6","5571f7fe8956493700aae248","55dc0a267fa0290d00558e6c","56696a5155e4b32100935db5"],"project":"54cf411f9d09bb0d00a17a1c","version":"54cf411f9d09bb0d00a17a1f","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-02-02T17:55:26.712Z","from_sync":false,"order":3,"slug":"workspaces","title":"Workspaces"},"parentDoc":null,"project":"54cf411f9d09bb0d00a17a1c","user":"54dd95e5c4a3570d009d490c","version":{"__v":14,"_id":"54cf411f9d09bb0d00a17a1f","project":"54cf411f9d09bb0d00a17a1c","createdAt":"2015-02-02T09:19:27.656Z","releaseDate":"2015-02-02T09:19:27.656Z","categories":["54cf41209d09bb0d00a17a20","54cfb99bbba1a023008741af","54cfb9a65ff7e617002bbd7f","54cfba03bba1a023008741b6","54cfba0ebba1a023008741b8","54cfba19bba1a023008741b9","54cfba29bba1a023008741bb","54cfba345ff7e617002bbd87","54cfba3ebba1a023008741bc","54cfba473995cf0d0006f6f0","54e371b18ef7552300409bf2","54e37aa5e887c50d005ef629","555a4e9b147f91190092d137","56b0e91802f4bc0d006ce254"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-10T12:04:33.632Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"On Cloud9, all the programming is done within Workspaces. There are two types of workspaces:\n\n- [**SSH Workspace**](doc:running-your-own-ssh-workspace): \n  SSH workspaces are workspaces that allow you to use the Cloud9 IDE on a machine of your choice.\n\n- **Hosted Workspaces**: Hosted workspaces are workspaces that are hosted on the Cloud9 infrastructure.\n\nThis guide will only talk about private and public with respect to Hosted workspaces as all SSH workspaces are private by default.\n\nThe differences between public and private can be explained within the following scenarios:\n\n## Reading Code\nWithin public workspaces, any code you write can be read by other Cloud9 users. Private workspaces do not expose your code, and it is only readable by you and any other Cloud9 users you [Share the workspace](doc:share-a-workspace) with.\n\n## Modifying Code\nWithin both public and private workspaces, only other users that you [give read-write access to](doc:share-a-workspace) with can modify your code.\n\n## Accessing the Terminal\nWithin both public and private workspaces, only users that you [give read-write access to](doc:share-a-workspace) can access the terminal","excerpt":"","slug":"differences-between-public-and-private-workspaces","type":"basic","title":"Public and Private Workspaces"}

Public and Private Workspaces


On Cloud9, all the programming is done within Workspaces. There are two types of workspaces: - [**SSH Workspace**](doc:running-your-own-ssh-workspace): SSH workspaces are workspaces that allow you to use the Cloud9 IDE on a machine of your choice. - **Hosted Workspaces**: Hosted workspaces are workspaces that are hosted on the Cloud9 infrastructure. This guide will only talk about private and public with respect to Hosted workspaces as all SSH workspaces are private by default. The differences between public and private can be explained within the following scenarios: ## Reading Code Within public workspaces, any code you write can be read by other Cloud9 users. Private workspaces do not expose your code, and it is only readable by you and any other Cloud9 users you [Share the workspace](doc:share-a-workspace) with. ## Modifying Code Within both public and private workspaces, only other users that you [give read-write access to](doc:share-a-workspace) with can modify your code. ## Accessing the Terminal Within both public and private workspaces, only users that you [give read-write access to](doc:share-a-workspace) can access the terminal