Site structure
Version 5.x > Site structure > Security Trimming View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
joe@jmawebtechnologies.com - 9/2/2011 10:25:48 AM
   
Security Trimming
Hi,

I need to hide pages in the CMS Menu, based on whether a user is logged in. It's also known as security trimming.

I have set the page to require authentication. It shows up in the menu, however, the user must login to view the page. Can I hide the menu item, if the user requires authentication? If the user is logged in, can I then show the item? How can I do this?

User avatar
Kentico Support
Kentico Support
kentico_radekm - 9/2/2011 11:27:44 PM
   
RE:Security Trimming
Hello.

Yes, you can. You can set ACL (document-level permissions, see http://devnet.kentico.com/docs/devguide/document_level_permissions.htm) in a required way, like deny Read permission for Not authenticated users, and so. Then, you can force your CMSMenu web part to take these permissions in account, enabling “Check permissions” property.

Best Regards,
Radek Macalik