Changed permission so that only the main page is accessible.