Welcome to WebmasterWorld Guest from 188.8.131.52
I started a social network website few years back just because I was learning programming for my intrest... The website got popular but now I don't have time to work on it anymore. (working as coding and adding new feature and etc.)
So I was thinking to pay a freelance programmer once in a while to do the job that is needed.
But here is the problem, How can I ask someone to do the job without giving him my website codes/scripts?
I don't want to risk that someone steals my website...
Or is there any better ways of doing it ?
There's no one you can trust in your server files, even your friends.
But I think sOh31l is asking how they can ensure a freelancer doesn't steal the source code to start their own clone site?
Hire someone who lives nearby (ie don't outsource it across the globe), get a lawyer, draft a DNA (non-disclosure agreeement), a NCA (non-competition agreement), and have them sign the contracts.
And choose your freelancer wisely. Choose someone with the skills for the job, with a reputation for honesty, and mature enough to have a lot to lose if you sue them for cloning your site. You may want to hire from an agency.
For example, a simple change to an .htaccess file breaks something that I was not informed of, didn't even know existed, and the reaction was that I should have been psychic enough to "just know" it would break something.
If you hope to get the best work out of your programmer, complete and total disclosure is absolutely essential, especially if the site is complex and large. They need to be made aware of every nuance and detail so a seemingly harmless action doesn't initiate self destruction.
And yes, there are a lot of B.S. programmers out there, ones who, rather than take the time to review the code, understand it's logic, work with it, will just say it's a pile of outdated amateur crap and needs to be built from scratch (this should be your first red flag, whether or not the statement is true.) So your concern is legitimate.
It boils down to one thing: reputation and trust. Find someone who has a history. Review it. Ask if you can speak with some of their clients, personally I'd completely agree with this if asked. Like it or not, you need to trust your programmer and system administrator as you would trust your spouse, if not more.
If you do find someone of this caliber, after a common NDA is agreed and signed, your first step is to have them LOOK. Don't touch. Look, build a report. Pose some questions/problems/tasks you absolutely know the answers to, gauge their response. See if they overlooked anything you think they should have caught. See if they have ideas you'd never thought of, which would make them a very good asset.
Then if it all works out, marry them - err, write up a contract. Same thing. :-)
A reputable programmer would never risk "stealing" your web site in exchange for their reputation. Personally, the only things I gain, other than compensation for services, are the new ideas and knowledge I learn by working with a new project.