2
votes

Is there any way to restrict access to a specific field on an item in Sitecore? We have a setup where an anonymous, non-authenticated user should be allowed to read one field ("FreeContent") and any authenticated user should see another field ("FullContent"). Setting Field Read / Item Read to deny in the template editor does not work, I'm guessing because the security then applies to that portion ("the field") of the template, not the content item itself.

We could, of course check if the user is authenticated and set the Field property of the control to "FreeContent" but we'd really like to be able to control from Sitecore which fields are open to all and which are not.

Is it possible at all, or do I need to implement this myself?

1

1 Answers

1
votes

You were doing it right - Field read/write settings on the data template is how to set access to specific fields in items.

See p14.

You might need to republish the site and clear caches etc.

Otherwise check with the access viewer to make sure your various roles have correct access.