Saturday 11 February 2017

How to Password Protect a Document in Google Drive

IMP: If you are looking to use google drive as a secure option in your android phone, a better option would be "Sec Notes". It support text notes, spreadsheets as well as checklists with all possible formatting options. Password, pin and pattern locks are available for security in the app.
With Google Docs merged to Google Drive, a lot of us have cultivated the habit of storing any and every document into Google Drive. After all, its safe, secure and maintained by Google in the cloud.
And like a lot of people I also have a spreadsheet containing some little private info which I need to access now and then. Something like a bank account number, login ids, social security number etc which I can look-up using the Google Drive app on my phone.
There is a small problem here. Although Google Drive can only be accessed after logging into Google, we are almost always logged into Google in our phones and PCs. That means if somebody gets access to your PC or phone momentarily, he/she can actually take a peek at these... not too good!!!

Password Protected Google Spreadsheet.

The best solution to this problem would be to have Google Drive ask for a password each time you open a document. Unfortunately, Google doesn't provide such a protection feature in-built. But you can achieve the same using the password protected Google Spreadsheet which uses Google Scripts. Here's how to use it.
  1. Open and make a copy of ProtectedSheet Google spreadsheet. You can rename it to any name you want.
  2. Next select "Tools->Script Editor". This will bring up a script in a new window or tab.
  3. In this window, select "File->Manage Versions" and click on "Save a new version". You can leave all fields blank. A new row for version 1 will appear. Just click "OK" button.
  4. Now select "Publish->Deploy as webapp" and click on the "Deploy" button.
  5. You will now be shown a confirmation that you app has been deployed as a web app.
  1. Now close this window and come back to the spreadsheet tab or window. You will find a new menu item "Protect File" in the spreadsheet. Select "Protect File->Initialize" and provide required permissions.

    All the above steps are one time only. You have now fully setup your password protected document.
  2. Now you can add what ever you want to store securely into the document. Just make sure you leave the first two colored rows intact.
  3. To secure the document, select "Protect File -> Encrypt File". You will be asked to enter a password. Once done, this will scramble the content each cell in the document. Now your data is fully password protected and nobody can read it without having the password you have set.
    NOTE: This password is not your Google account password, but any password you can choose. The first time you run "encrypt", you will be asked to set a password which will be used for all further encrypt/decrypt requests. 
  4. When ever you want to decrypt your document, open it and select "Protect File -> Decrypt File". You will be again asked for the password giving which it will decrypt and bring back the cell contents which you can read or edit.
This works well if you are opening the spreadsheet in a PC. But if you are opening it from a phone, Google always loads the phone version and you won't get the "Protect File" menu. To encode/decode your spreadsheet from a phone, click on the encrypt/decrypt URL which will be present in the first row. This URL gets created and added once you deploy the web app in step 4 above.
On loading the URL will show a web page where you can enter your password to encrypt or decrypt the document. Once done, a "Go back" link will appear which you can click to load the encrypted/decrypted spreadsheet.
You can also change the password anytime using "Protect File -> Change Password" menu option. Please make sure you don't edit and change the encrypted document. If you do so, the decryption won't be able to give back the original content. And as always, the script is your local copy and runs entirely in your Google account. Nobody else has access to anything including the password you set.

How it works.

On clicking the encrypt menu, the script checks the password with what you have set. Only if it matches, the contents of the Spreadsheet is read and text in each cell is obfuscated. On clicking Decrypt, the same algorithm converts the obfuscated text back to the original text if the password matches.

Tuesday 31 January 2017

How to Make Mesothelioma Claims

Mesothelioma is a serious cancer which can form either in the lungs (pleural mesothelioma) or in the abdomen (peritoneal mesothelioma). Although mesothelioma is quite a rare cancer, according to Cancer Research UK, nearly all mesothelioma diagnosed in the lungs or chest is a direct result from exposure to asbestos.
If you have recently been diagnosed with pleural mesothelioma and don’t believe you are to blame for being exposed to asbestos, mesothelioma claims may help towards receiving some compensation for your life-threatening illness.

Where does asbestos come from?

Asbestos is a fibrous rock which was commonly used until the 1990s due to its ability to keep warmth in and cold out. It was used for insulation purposes and could be found in household appliances and various buildings.
Many buildings today still have asbestos in them but they are monitored and employers have to comply with strict safety regulations to ensure there is no risk to visitors or employees. If you have been exposed to asbestos which has led to mesothelioma you should speak to a professional today and find out what your legal rights are. Mesothelioma claims may help with private healthcare costs or help a little towards the emotional distress you have had to endure.

Who is most at risk?

According to HSE those most at risk of asbestos exposure are tradesmen and maintenance workers men who work with building structures and disturb areas which have asbestos in them. As soon as asbestos fibres become airborne they become hazardous as they can be breathed in and cause severe lung damaged if breathed in over a long time which can lead to asbestos illness, such as mesothelioma.

Accident Advice Helpline will help you for free

Call one of our legal experts today for free on 0800 689 0500. We promise to do all that we can to help you make a claim for compensation. We understand the negative effect this illness can have on your quality of life and if you feel you were wrongly exposed to asbestos please give us a call to see if we can help.

Read: Best 10 States for Your Retirement

Our team of trained advisors have dealt with many mesothelioma claims and we want to help you too. If we take your case on we will work on a no win, no fee* basis so you do not have to worry about solicitors’ fees or costs.

Sunday 29 January 2017

THE MOST IMPORTANT QUESTION OF YOUR LIFE: Artical


verybody wants what feels good. Everyone wants to live a carefree, happy and easy life, to fall in love and have amazing sex and relationships, to look perfect and make money and be popular and well-respected and admired and a total baller to the point that people part like the Red Sea when you walk into the room.

Everyone would like that — it’s easy to like that.
If I ask you, “What do you want out of life?” and you say something like, “I want to be happy and have a great family and a job I like,” it’s so ubiquitous that it doesn’t even mean anything.
A more interesting question, a question that perhaps you’ve never considered before, is what pain do you want in your life? What are you willing to struggle for? Because that seems to be a greater determinant of how our lives turn out.
Everybody wants to have an amazing job and financial independence — but not everyone wants to suffer through 60-hour work weeks, long commutes, obnoxious paperwork, to navigate arbitrary corporate hierarchies and the blasé confines of an infinite cubicle hell. People want to be rich without the risk, without the sacrifice, without the delayed gratification necessary to accumulate wealth.
Everybody wants to have great sex and an awesome relationship — but not everyone is willing to go through the tough conversations, the awkward silences, the hurt feelings and the emotional psychodrama to get there. And so they settle. They settle and wonder “What if?” for years and years and until the question morphs from “What if?” into “Was that it?” And when the lawyers go home and the alimony check is in the mail they say, “What was that for?” if not for their lowered standards and expectations 20 years prior, then what for?
Because happiness requires struggle. The positive is the side effect of handling the negative. You can only avoid negative experiences for so long before they come roaring back to life.
At the core of all human behavior, our needs are more or less similar. Positive experience is easy to handle. It’s negative experience that we all, by definition, struggle with. Therefore, what we get out of life is not determined by the good feelings we desire but by what bad feelings we’re willing and able to sustain to get us to those good feelings.
People want an amazing physique. But you don’t end up with one unless you legitimately appreciate the pain and physical stress that comes with living inside a gym for hour upon hour, unless you love calculating and calibrating the food you eat, planning your life out in tiny plate-sized portions.
People want to start their own business or become financially independent. But you don’t end up a successful entrepreneur unless you find a way to appreciate the risk, the uncertainty, the repeated failures, and working insane hours on something you have no idea whether will be successful or not.
People want a partner, a spouse. But you don’t end up attracting someone amazing without appreciating the emotional turbulence that comes with weathering rejections, building the sexual tension that never gets released, and staring blankly at a phone that never rings. It’s part of the game of love. You can’t win if you don’t play.
What determines your success isn’t “What do you want to enjoy?” The question is, “What pain do you want to sustain?” The quality of your life is not determined by the quality of your positive experiences but the quality of your negative experiences. And to get good at dealing with negative experiences is to get good at dealing with life.
There’s a lot of crappy advice out there that says, “You’ve just got to want it enough!”
Everybody wants something. And everybody wants something enough. They just aren’t aware of what it is they want, or rather, what they want “enough.”
Because if you want the benefits of something in life, you have to also want the costs. If you want the beach body, you have to want the sweat, the soreness, the early mornings, and the hunger pangs. If you want the yacht, you have to also want the late nights, the risky business moves, and the possibility of pissing off a person or ten thousand.
If you find yourself wanting something month after month, year after year, yet nothing happens and you never come any closer to it, then maybe what you actually want is a fantasy, an idealization, an image and a false promise. Maybe what you want isn’t what you want, you just enjoy wanting. Maybe you don’t actually want it at all.
Sometimes I ask people, “How do you choose to suffer?” These people tilt their heads and look at me like I have twelve noses. But I ask because that tells me far more about you than your desires and fantasies. Because you have to choose something. You can’t have a pain-free life. It can’t all be roses and unicorns. And ultimately that’s the hard question that matters. Pleasure is an easy question. And pretty much all of us have similar answers. The more interesting question is the pain. What is the pain that you want to sustain?
That answer will actually get you somewhere. It’s the question that can change your life. It’s what makes me me and you you. It’s what defines us and separates us and ultimately brings us together.
For most of my adolescence and young adulthood, I fantasized about being a musician — a rock star, in particular. Any badass guitar song I heard, I would always close my eyes and envision myself up on stage playing it to the screams of the crowd, people absolutely losing their minds to my sweet finger-noodling. This fantasy could keep me occupied for hours on end. The fantasizing continued up through college, even after I dropped out of music school and stopped playing seriously. But even then it was never a question of if I’d ever be up playing in front of screaming crowds, but when. I was biding my time before I could invest the proper amount of time and effort into getting out there and making it work. First, I needed to finish school. Then, I needed to make money. Then, I needed to find the time. Then… and then nothing.
Despite fantasizing about this for over half of my life, the reality never came. And it took me a long time and a lot of negative experiences to finally figure out why: I didn’t actually want it.
I was in love with the result — the image of me on stage, people cheering, me rocking out, pouring my heart into what I’m playing — but I wasn’t in love with the process. And because of that, I failed at it. Repeatedly. Hell, I didn’t even try hard enough to fail at it. I hardly tried at all.
The daily drudgery of practicing, the logistics of finding a group and rehearsing, the pain of finding gigs and actually getting people to show up and give a shit. The broken strings, the blown tube amp, hauling 40 pounds of gear to and from rehearsals with no car. It’s a mountain of a dream and a mile-high climb to the top. And what it took me a long time to discover is that I didn’t like to climb much. I just liked to imagine the top.
Our culture would tell me that I’ve somehow failed myself, that I’m a quitter or a loser. Self-help would say that I either wasn’t courageous enough, determined enough or I didn’t believe in myself enough. The entrepreneurial/start-up crowd would tell me that I chickened out on my dream and gave in to my conventional social conditioning. I’d be told to do affirmations or join a mastermind group or manifest or something.
But the truth is far less interesting than that: I thought I wanted something, but it turns out I didn’t. End of story.
I wanted the reward and not the struggle. I wanted the result and not the process. I was in love not with the fight but only the victory. And life doesn’t work that way.
Who you are is defined by the values you are willing to struggle for. People who enjoy the struggles of a gym are the ones who get in good shape. People who enjoy long workweeks and the politics of the corporate ladder are the ones who move up it. People who enjoy the stresses and uncertainty of the starving artist lifestyle are ultimately the ones who live it and make it.
This is not a call for willpower or “grit.” This is not another admonishment of “no pain, no gain.”
This is the most simple and basic component of life: our struggles determine our successes. So choose your struggles wisely, my friend.