Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLadna Meke
5,752 PointsDo Web Hosts have access to source code?
When you upload a website to a host, does the host have access to see your source code?
3 Answers
Iago Wandalsen Prates
21,699 PointsYes. Doesn't mean they will see it, its probably none of their interest, but they can see your code.
Ladna Meke
5,752 PointsAlright, thanks Iago.
I was wondering how big companies like Twitter and Facebook keep their source code secret. I think maybe they host their websites themselves; but I'm wondering how they managed to keep it secret before they became big
Danny Nicolas
3,762 PointsFacebook builds, owns, and operates their own data centers. At a certain point, it makes financial sense for a company to graduate to owning their own server hardware. When they have tens of Millions (or Billions in this case), it makes even more sense for them to have their own datacenters.
Iago Wandalsen Prates
21,699 PointsBefore they became big, their code was probably not that revolutionary. I mean, even today, great part of it isn't either. It's more about the idea, being first to the market, how you advertise it. And anyways, there might be some legal stuff around it, like, sure, you can see the code, but that doesn't mean you can straight up copy it. Seeing an open-source code on github doesn't give you the permission to copy it, make some small modifications, and charge people to use it, there are licenses involved. Anyways, Facebook had their own server like, in less than 1 year after they launched.
Ladna Meke
5,752 Pointsooh alright, thanks.
That pretty much explains it