For Folder i dont know, but for File

Go to save as, then in TOOLS click general options and then Give ur password and again cofirm ur password and then ok.
if it already saved file it will ask for replace the existing file . Then click yes.