Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# DateTime to UNIX timestamps
- C# Use HttpClient to GET JSON from API endpoint
- C# JWT Token Get Expiry Timestamp
- C# Azure Table Storage QueryAsync, Paging and Filtering
- Serialization and deserialization of 'System.IntPtr' instances are not supported. Path: $.TargetSite.MethodHandle.Value
- .NET API CORS: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header.NET API
- C# Authorization in .NET Core API's using Attributes, TypeFilterAttribute and IAuthorizationFilter
Archive
Meta
Tag Archives: security
Sitecore KeepLockAfterSave – Configuring Security Policies Per-Role Based
Now here is a nifty Sitecore trick. You have probably learned about the AutomaticLockOnSave feature that allows Sitecore to lock an item when it is saved. The feature is enabled or disabled using configuration setting (and can be negated with … Continue reading
Posted in Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9, Sitecore and .net
Tagged KeepLockAfterSave, Locks, security, Sitecore and .net
1 Comment
Sitecore field level Security – give write access to members of a certain group
The Sitecore security model is pretty straight forward, but as everything security, it can become complicated. This goes for field level security. For a certain field, I wish to grant read access to everyone, but write access only to members … Continue reading
Posted in Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged security, Sitecore and .net, Sitecore.Security
Leave a comment
Calling Azure Functions from JavaScript – The CORS configuration
You cannot call Azure Functions from JavaScript unless you configure the CORS settings for your Function Apps: This is because Microsoft have by default enabled CORS and only allows only some azure domains to access the Function Apps: So to … Continue reading
Sitecore Security: Roles in Roles – What it is and how it works
The Sitecore Roles-In-Roles is an extension to the basic authorization that have been around ever since Sitecore 5. WHAT IS ROLES-IN-ROLES? Roles-In-Roles allows you to have nested roles, so when you add a role to a user, the user is … Continue reading
Posted in Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Roles, Roles-In-Roles, rolesInRolesManager, security, Sitecore and .net
1 Comment
Sitecore check access and roles programatically
The Sitecore security model have changed over time, but the general API to check security access and roles have been stable for many many years. CHECK IF USER HAS ACCESS TO AN ITEM: To check if a user have access … Continue reading
Posted in .net, c#, General .NET, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged HasAccess, security, Sitecore and .net, UsInRole
1 Comment
Sitecore: Login to website and how to restrict access to content
The Sitecore security model has not changed substantially since Sitecore 4. And yet I still find myself struggling every time I have to set up a website that require login, or where users require special access rights to parts of … Continue reading
Posted in Sitecore 4, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged login, security, Sitecore and .net
1 Comment
Sitecore users custom profile properties
Sitecore is using the standard .net security framework. This makes it easy to setup custom profiles on users, and to add custom profile properties. To do so, do the following: STEP 1: ADD A PROFILE TEMPLATE TO SITECORE Go to … Continue reading
Posted in c#, Sitecore 6, Sitecore 7
Tagged Member, Profile, security, SetCustomProperty, Sitecore and .net, User
7 Comments
Sitecore Users and C#
The Sitecore security framework is based on the .NET security. Managing Authentication, Authorization, User Accounts and Roles can be done using the standard System.Web.Security namespace. But Sitecore also provides its own Security framework that you can use for easy manipulation … Continue reading
Posted in c#, Sitecore 6
Tagged Authentication, Custom Property, Roles, security, security framework, Sitecore and .net, Sitecore.Security, System.Web.Security
8 Comments
Is Sitecore security slowing you down?
Recently, several blogs have posted about hidden settings that allows you to disable certain security related features in Sitecore. Sitecore can contain many users or many groups. This will sometimes lead to slow performance in the Sitecore shell or in the Sitecore … Continue reading