I know this is not secure, Please tell me some tips to make it secure. And i want to know when this programs runs, it makes a file by taking username, but the file is visible to everybody. any body can make this type of user file and can break the security. But what to do to make it secure.