I have a spreadsheet, and I have shared it with 50 people for the editor role. I have written some js codes in app script but unfortunately, someone removed my code and the spreadsheet has been affected for the reason.
I need a solution so that no one views or accesses my app script code who has an editor role.
two projects
. One project is bound to the "target spreadsheet"; this may or may nor contain code and any editor can view that code. But the second project (which need not be bound to a spreadsheet at all) references the "target spreadsheet" by ID. Editors of the target spreadsheet won't easily find the second project, so the code is effectively hidden from them.