Sets file permissions for web documents