That's completely unnecessary. By default, scripts in one's user space can only be edited by the script's "owner" or by admins.
Thanks for letting me know, I think I might have known that but it didn't cross my mind.