I'm on a dedicated managed server and I was wondering if there is a way to protect some of my scripts and databases from being seen/downloaded by my server provider... the thing is that all these scripts & DB's are being used - it's not like they are static files which I can just encrypt with PGP or something.
These files are being executed by me and visitors to my sites - I just don't want the server provider to have administrator access to them i.e. view the source of the scripts and/or download them and have any access to the databases because I have information of business value in them.
But still the main question remains... yes I will know if anyone logins, maybe there's even a way to see exactly what they've been looking at - BUT how do I make sure that certain scripts and databases are protected and at the same time working?
If you are using php, get zend accelerator installed on your server.
Encode your php scripts with zend encoder. This way they will be encrypted, and if someone downloads them it will be a no go. To make sure they do not run your scripts on another server that has zend accelerator, be sure to put code in it that checks domain, ip (servers) and so on and run only if they match.