try open protected files with sudo when open in other window/frame
install apache mode