Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I / how do I protect source code from web host? [closed]

Are you concerned at all with your web host having access to all of your files and being able to essentially download your entire web app? What steps can you take to protect yourself? More specifically, I am interested in knowing how to protect the custom developments I've made to a WordPress powered site?

like image 400
Alexa Green Avatar asked Aug 22 '11 21:08

Alexa Green


People also ask

How do I protect my website source code?

This is by far the most popular way to try to hide one's source code. It involves taking your code, using a custom made function to “encrypt” it somehow, and then putting it in an HTML file along with a function that will decrypt it for the browser.

What happens if you don't host your website?

You could lose everything.Your website can be wiped out completely and you'll have to start from scratch. Even if that kind of worst-case scenario doesn't happen, free hosting providers won't generally provide tech support.

How does Google protect its source code?

Encryption at rest We use several layers of encryption to protect data at rest. By default, the storage infrastructure encrypts all user data before the user data is written to physical storage. The infrastructure performs encryption at the application or storage infrastructure layer.

What is source code security?

Source code security is the responsibility of both (boards when the company is public) management, engineers and developers and they must work together to create policies and take precautions to avoid pushing private company code to any public repositories.


1 Answers

Are you concerned at all with your web host having access to all of your files and being able to essentially download your entire web app?

No.

What steps can you take to protect yourself?

None.

If you can't trust your web host, you're doomed and need to change providers immediately. It's impossible to protect a web site from the administrator(s) who maintain the server it runs on.

It's like if you are a business hiring a bookkeeper or sysadmin - they can't do their job if they don't have access to the company's financial records, or computer systems, respectively. You have to be able to trust that those people don't steal your company secrets.

I am interested in knowing how to protect the custom developments I've made to a WordPress powered site?

Not to put down the value of your work and all, but chances are nobody cares about them. There's a lot more to a custom development than having the code - you also need somebody who understands it and can work with it. I don't think code theft from commercial hosting platforms is much of an issue.

like image 75
Pekka Avatar answered Sep 28 '22 01:09

Pekka