I’m new to MODx so excuse me if this is a stupid question
All the pages created in MODx have 2 possible states: published and unpublished.
As I understand it "published" page is one visible in menus and accessible for web users. "Unpublished" page is opposite - it doesn’t appear in menus and it shouldn’t be accessible by users.
But as I see even unpublished pages are accessible via URL.
For example if I have a page (id= 6, alias=contact) that is unpublished I still can access it simply writing URL in a browser ( index.php?id=6 or contact.html with friendly URLs on).
Is this a bug or a feature. And if it is a feature is there any way to switch it off so unpublished pages are not visible?