This is an exercise on testing the limits of Google Sheets, but it is not a failproof method. As many of you have pointed out, with enough persistence, or just by clicking away you can bypass the system. As I say in the video, the only way I know that is failproof, is not sharing the file. Regards!
@AhmadAli-xx3vr10 ай бұрын
I was searching for the same solution to protect my Google sheets, It was a great tutorial...
@jaspreetsingharora7070 Жыл бұрын
Is there a way to hide contents until the password is correct ?
@adoniscontreras80423 ай бұрын
Yes. After you're done working on the sheet, you can click the button "hide sheet". The sheet will not be visible until you enter the password & then click on "show hidden sheets". I'm pretty sure you could program this with script as well but I don't know how
@gabrielchun72188 ай бұрын
@practicalsheets, can you help us please? The box works, but it still lets access to the file. I just have to click away from the box.
@tomsandoval-ym6jj5 ай бұрын
yep
@EnzoAugustoPennaAthayde4 ай бұрын
same thing here
@practicalsheets3 ай бұрын
You are right It is not fool proof. I don´t think there is any way, other than not sharing the file with the account. I will put a warning message in the description Thanks for the messages! Kind Regards
@victorakindipe3948 Жыл бұрын
This is great. Thanks for the video. is it possible to password just a single worksheet? I have different worksheets but only want to password just one.
@maayanyacobi866510 ай бұрын
if i click on ESC it gives me the prompt "Error resuming script execution" - how do i strength the script to make sure it overcome such cases ?
@padhichittaranjan11 Жыл бұрын
Very fine sir. Please upload more video like protect all formula in the worksheet
@chimneera11 ай бұрын
Is there a way I can keep my password from showing if someone is spying at my typing. Have it **** as I enter said password?
@Mrnormann1124 күн бұрын
Hey. I have never done any coding before i did this. Thank you so mutch for the tutorial. I have manage to get most to work, my only problom is that i cant get it to function unless i hit run in apps scripts. Meaning when i close the file and open it again, its still not password protected. I cant see any mistake in my coding. Any ideas? what did i miss?
@nelboqueo578410 ай бұрын
i can bypass the password. i can edit direct to the sheet even without entering the password
@sajinj2457 Жыл бұрын
Nice tutorial. Please create different sheet access role with password
@jasaamanah6171 Жыл бұрын
yes, please
@deepakukreti8 ай бұрын
I was looking for a solution like this. Thanks for making it simple. Could you also help in some way we could password protect the entire workbook on Google sheets. This method is good for one sheet, but if I wish to protect the entire Workbook it doesn't work.
@practicalsheets4 ай бұрын
Thanks for your words The best way to protect the whole book is to give just "Read" Permission Kind Regards
@AllAboutBg9 ай бұрын
Thank you!
@practicalsheets9 ай бұрын
Thank you for commenting!
@AndrewLouwrens11 ай бұрын
Thanks so much, great help
@practicalsheets11 ай бұрын
Thank you!
@cslahore6 ай бұрын
Thanks for sharing such a great video, I was also looking for a script or code which may help to protect the online sheet. But unfortunately, I don't know the macro codes that's why its not executing and generating an error message at line 9. Can you please paste this script code to help more people , they may change their email address and password for their sheets.
@practicalsheets6 ай бұрын
Hello! Please paste the exact error so I can help you figure it out You will be able to copy the exact template in the patreon page. Regards!
@cslahore6 ай бұрын
@@practicalsheets Thanks for considering my request, Its really appriciatable. Error reference is as under: 2:43:59 PM Notice Execution started 2:44:00 PM Error ReferenceError: session is not defined protectByPassword @
@cslahore6 ай бұрын
@@practicalsheets Error message Execution started 2:44:00 PM Error ReferenceError: session is not defined protectByPassword
@practicalsheets6 ай бұрын
@@cslahore Try putting upper case in Session Kind Regards
@WaqasMunir Жыл бұрын
Love your stuff. Great !
@practicalsheets11 ай бұрын
Thank you!
@bloggerkickstart9060 Жыл бұрын
there is a big problem with the system. you can retry it till it won't show any prompt password again. My test shows that around 26 times and it will not show up anymore and you can use the sheet. any way to solve the problem?
@boratit81392 ай бұрын
Why I can’t do it ? Do you use any tool or app for supporting. This
@practicalsheets2 ай бұрын
Hello No additional tool Any particular error? Kind Regards
@ETECHAzeem2 ай бұрын
Thanks for amazing help dear, But I have one issue with this, all of your method does not work if we share sheet to any one as Viewer only and disable the download and copy option for them. Please do something for this as well So your code also works for users who have only viewing only rights with copy and download option disabled.
@practicalsheets2 ай бұрын
Hello! Thank you for the suggestion I will look into it Kind Regards
@vallehv100112 ай бұрын
This is awesome, is there a way to activate this password when the sheet link is shared when anyone with the link can see it? When I open the file in an incognito tab it does not ask for the password. It only ask the password when I am log in with a gmail account.
@practicalsheets2 ай бұрын
Hmmm Interesting I think that if you may share it with anyone, it is not possible. The best way would be to share with Edit permit to the people who would have passwords Kind Regards
@RexWu6 ай бұрын
just clicking away removes the box and then access to the sheet is gained. was wondering if you had a patch for this
@practicalsheets6 ай бұрын
Youre right Ive tried but there is no easy way You could watch this video for a couple of ideas kzbin.info/www/bejne/mIObdaycl95rjsU Regards!
@ifineNick3 ай бұрын
wowow Great!
@practicalsheets3 ай бұрын
Thank you!
@nelboqueo578410 ай бұрын
there is a propmt that appears "Error resuming script execution" if i click "dismiss" i can access the file
@maayanyacobi866510 ай бұрын
That's Right ! - if i click on ESC it gives me this prompt above - how do i strength the script to make sure it overcome such cases ?
@dealmommy8 ай бұрын
Same here. Did you find a solution?
@tripriancetripriance5743 Жыл бұрын
It is a very helpful tutorial for someone that not using micr***** and to protect the file itself without any add-on or 3rd party application. since I don't have any coding basic and your explanation is very loud and clear. I run for some issue as follow : 1. I have entered the correct password but it keeps ask to re-enter it 2. Password it works if I am open it through Laptop or Desktop, but when it open with Smartphone, it still can be accessed without entering the password could you advise how to fix this issue. Thank you😊
@muhammadhaqny Жыл бұрын
I am also having issue with a password, it keeps asking me for the password whenever I refresh the Google sheet...
@nathanread996911 ай бұрын
Is it possible to just protext one sheet tab within a google sheet so that if that tab is clicked on it asks for a password?
@practicalsheets11 ай бұрын
I think it could be done You could use the onSelectionChange trigger Regards!
@tanyasmith513810 ай бұрын
Great video, but didn't work for me. )-: The box works, but it still lets me access the file. I just have to click away from the box.
@muhammadshehrayarkhan269110 ай бұрын
same on my side
@thegrandzeno1404 Жыл бұрын
Can you do this on android phones and tablets?
@practicalsheets Жыл бұрын
I don´t think it can be done Regards!
@bentechie9104 Жыл бұрын
Good tutorial Man, Great work👍
@practicalsheets Жыл бұрын
Thank you!
@EnzoAugustoPennaAthayde4 ай бұрын
@@practicalsheets isnt functional. if u just click out of the box the script will fail
@practicalsheets4 ай бұрын
@@EnzoAugustoPennaAthayde You are right. As a fail proof system it is not useful. It is an experiment to see how far we can go with Sheets. I'm not sure there is a way to do it. MAybe Google will have a similar feature in the future Regards!
@practicalsheets4 ай бұрын
@@EnzoAugustoPennaAthayde You're right. It is more of an exercise in the capabilities of Sheet. I don't think there is a failproof way of doing it. (Maybe there is, and I don't know how) Thanks for the comment!
@muhammadhaqny Жыл бұрын
I am having an issue with a password, it keeps asking me for the password whenever I refresh the Google sheet...
@ThanhVuXuan-ty6ct9 ай бұрын
excuse me! How to apply for only one sheet?
@kumarsandiproy6392 Жыл бұрын
which language is used here?
@practicalsheets Жыл бұрын
Hello! Google Apps Script is based on Javascript Regards!
@robinnauli4891 Жыл бұрын
can it be 2 admin ?
@practicalsheets Жыл бұрын
Yes! You should use && or || to concatenate the conditions, something like this if(email!=adminMail1 && email!=adminMail2) Regards!
@robinnauli4891 Жыл бұрын
i have another question , can we disable some menu in google spreadsheet , so people can see our script ? @@practicalsheets
@fundinghomes10 ай бұрын
Extensions doesn't exist in my menu bar
@innominatestudio10 ай бұрын
Hello, everything works fine until I discovered that this trigger did not pop up when I open my sheet on my tablet.
@HendrikBez Жыл бұрын
how to show password before it show the data in the sheet
@practicalsheets Жыл бұрын
One option would be to activate a blank sheet before Not the most pro, but it would work Regards!
@unboxedverdict5 ай бұрын
Hey if any of you wants to have the code I have it so just ask and I can post the text
@practicalsheets5 ай бұрын
Excellent! Kind Regards
@cryptalytics2435 Жыл бұрын
lol, you can just bypass password with chrome dev console... LMFAO
@muhammadhaqny Жыл бұрын
I was searching for the same solution to protect my Google sheets, It was a great tutorial...