how to restrict editing of our document