Questions tagged [security]

Questions related to security in all it's aspects (as long as related to Sitecore). Can be Sitecore product security or security of your Sitecore application.

Filter by
Sorted by
Tagged with
1
vote
2answers
30 views

Can I safely disable HTTP methods DELETE and OPTIONS?

A recent security audit recommended that I disable the HTTP methods DELETE and OPTIONS. I am not opposed to doing this, but have been unable to find any documentation indicating that I can do so ...
0
votes
2answers
73 views

Access to Sitecore CM from outside network

Has anyone made Sitecore CM server publicly visible so that anyone can see the Sitecore login page? My client wants to make content management available to external agencies (who are comfortable ...
2
votes
2answers
78 views

Check if a user is disabled

We have some custom code to send emails out when submitting an item from one workflow state to another and it seems to be sending items to users who have been disabled. I've been trying to find a way ...
0
votes
2answers
53 views

Sitecore API key shown in Network tab

As you can see in the image above, the API key is clearly visible to all people to see. If you simply follow the URL you get the message: { "errors": [ { "message": "No query ...
3
votes
1answer
44 views

Checklist for Sitecore Security Hardening using Azure PaaS

I am Using Sitecore version 9 on Azure PaaS, Is there any official Sitecore security hardening guide for Azure PaaS ?, I can see some documentation as below link - https://doc.sitecore.com/...
1
vote
1answer
40 views

Content authors to see their own items only in workbox, not from other authors

Is there a way to implement the workflow and user roles for Content authors to see their own items only in workbox not from other authors.
0
votes
1answer
45 views

How to define a new user role that can create and approve their OWN content only?

I have a requirement like a user should create and approve their OWN content only and it should not accessible that created/updated Sitecore items to other users. Ex: user1 has created a test1 page ...
0
votes
0answers
29 views

Faking user roles / Temporarily assign roles to the user

I have a requirement like I need to add temporary roles to the user (hope we have to try it on loggingin or loggedin pipeline) and the roles should not be persisted to the security database against ...
2
votes
1answer
36 views

Security Permissions - Individual inheritance rules set for this account

In my Sitecore instance some red text has appeared next to the Inheritance section in the Assign Security Rights dialog box (see screenshot below). "The item has individual inheritance rules set for ...
2
votes
1answer
95 views

500 Error Page for HTTPS connection in Sitecore JSS in Connected Mode

I'm trying to implement user authentication login and currently trying out to configure JSS connected mode to work with https (secure connection). Following https://jss.sitecore.com/docs/techniques/...
0
votes
2answers
204 views

Sitecore redirects to no-access page instead of login page

I have the following site configuration for my Sitecore 9.1 site: <site name="the-website" patch:after="site[@name='modules_website']" language="en" ... ...
0
votes
1answer
63 views

Access denied page in Sitecore when using requireLogin

Our current site (Sitecore 9.1) configuration looks like this: (simplified for readability) <site name="the-website" patch:after="site[@name='modules_website']" language="en" ... ...
0
votes
0answers
32 views

The CSRF cookie value did not match the CSRF parameter value [duplicate]

I got an error while clicking the item in Sitecore, but when I refreshed the page, I was able to click the item this time. Exception: Sitecore.Security.AntiCsrf.Exceptions.PotentialCsrfException ...
0
votes
2answers
354 views

Troubleshooting “Could not create SSL/TLS secure channel” error in XConnect on Sitecore 9.1

I have a freshly-created Sitecore 9.1 instance. After setting up the xDB Migration Tool, I get the following error message when running the Troubleshooter: ERROR [Data Exchange] at Sitecore.Xdb....
2
votes
1answer
53 views

Is it possible to teach the keepalive agent to overcome TLS/SSL certificate warnings?

We have an internal environment where the TLS/SSL certificate on tenants is not playing well with some requests. This is not a huge issue for clients who can add a one time trust for the certificate, ...
3
votes
0answers
43 views

Resetting admin password with Sitecore 9.1.1 and Identity Server after SHA512 change [duplicate]

I'm going through the security hardening steps on a new, local instance of Sitecore 9.1.1 with identity server. I made the SHA512 change in the Sitecore web.config, and I ran the database script to ...
0
votes
1answer
32 views

Roles: regional author to edit certain “global” items based on template

We need to create a role that would: - generally be only able to edit content in specific language (i.e fr-fr, regional author) - except items based on template A where they also should be able to ...
1
vote
1answer
51 views

Give Role permissions to add Url Redirects in System folder

I need to give a content author permissions to add url redirects to the folder /sitecore/system/Modules/Redirect Module, but I don't want to make them an administrator. How do I do that? I've tried ...
1
vote
1answer
215 views

JWT tokens for authentication for 9.0 UPDATE 1

I have an instance running SxC 9.0 update 1. I was working on an API which had to be consumed by a 3rd party application. Can you provide some input for using token bear mechanism to protect my API. ...
1
vote
0answers
71 views

Security Error Rebuilding Indexes

Sitecore 8.1 rev. 160302. Looking into my logfiles, there are lots of errors such as: Job Started: Index_Update_IndexName=RSearch ... Exception: System.NullReferenceException Message: Object ...
0
votes
0answers
55 views

Admin not able to restore deleted pages

I am facing issue while restoring deleted pages in sitecore. The page which is deleted by author was not able to restore by admin.Please refer below screenshot for error while restore... Thanks in ...
2
votes
1answer
28 views

Can you setup security trimming with code first JSS?

We want to restrict some pages that are behind a login on a JSS site. We use code-first development. Is is possible to setup the security in the /data/*.yml files? Or should we update the security ...
1
vote
1answer
75 views

How to check access right in SitecoreController for Sitecore 9.1

In my JSON controller I want to check the access right from the User. My code looks like this public class MyController : SitecoreController { public static bool CheckAccessRight() { ...
1
vote
1answer
42 views

Setup security for the Sitecore SXA site multiple times

When we try to add the Security Setting to the site for the first time we are able to run the Setup Security script with the link under Scripts. When we tried to make changes again in the security, ...
5
votes
0answers
96 views

How to enable custom hashing algorithm on identity server?

I have sitecore 9.1 and I added pipeline which add new hashing algorithm (pbkdf2 implementation from Zetetic team with 5000 iterations) to CryptoConfig and changed hashAlgorithmType to pbkdf2 in ...
1
vote
2answers
118 views

Security Hardening in PaaS

We are using Sitecore 9.0.2 deployed in PaaS as a general recommendation from Sitecore Security Hardening Guide perspective we are supposed to do the below items: 1)Prevent Anonymous Users access to ...
1
vote
1answer
38 views

Work Flow Security Permissions

I have a template and apply Publishing workflow on this template, I created items from this template in 2 different sites, I created 2 different users for each site,I want when the item in "site 1" ...
4
votes
1answer
197 views

IsAdministrator check no longer working on Sitecore 9.1

I created a few pages within our Sitecore setup to be accessed only by the Sitecore administrator while our site was still running on 8.2, using Sitecore.Context.IsAdministrator to check if the user ...
1
vote
1answer
156 views

Secure Azure SQL database connection using a managed identity

We are currently hosting our Sitecore 9.1 initial release on premises, but want to move the complete solution into Azure. We want to use public services and not put our solution in an ASE. To secure ...
3
votes
1answer
95 views

Sitecore 9.1 password complexity

It seems that Sitecore 9.1, with the new Identity Server, no longer uses the same way of configuring password complexity as the previous versions. Some of the links that I found related to 9.0 and ...
1
vote
1answer
56 views

Remove certain items from control panel for some users

I have users that I would like only to see the My Settings section in the Control Panel and hide the Administration, Database, Reports, Localization, and Security items. I've been looking in the Core ...
2
votes
1answer
116 views

How to fetch users in particular domain programmatically in Sitecore9

We recently upgraded our project to Sitecore9 initial release from 7.2. We were re-compiling our code including latest Sitecore.Kernel. We got this error: error CS0117: 'Factory' does not contain a ...
1
vote
1answer
35 views

Give access to Archive button in Launchpad

I'm trying to add a button to the Archive tool in the launchpad. I think I've granted access to the role the user is in - to \applications\archives and everything under it, but I think I'm missing ...
0
votes
0answers
130 views

Not seeing insert options for user

I'm trying to set up a new set of users with roles. I have them members of a couple of different roles that inherit from sitecore roles, including Author, Designer, Sitecore Client Designer and ...
0
votes
1answer
34 views

Not able to change Referrer Policy in Sitecore SXA Site

We have been trying to change Referrer Policy to 'no-referrer' but no luck. Below are the following approaches we followed for quick verification: Adding the following tag in head section of ...
4
votes
2answers
186 views

Sitecore CD instance - Restrict access to Sitecore folder without blocking keepalive.aspx?

I have a CD/CM site which I hardened by restricting access to Sitecore by adding "sitecore" to the Hidden Segments in the Request Filtering section in IIS (second answer here). However, this has ...
6
votes
2answers
223 views

You do not have permission to create an item here (Local Datasources)

I'm working on security for an implementation and while testing use cases, I found that my authors are not able to create local datasources in the 'virtual page data' location that is hidden by ...
2
votes
1answer
118 views

Securing Sitecore 9.0.2 PAAS xDB & xConnect Server Role Services

We are using Sitecore 9.0.2 PAAS on Azure and we found that below server roles are not on https instead they are on http xDB Role Services Processing (prc) Reporting (rep) xConnect Server Role ...
22
votes
1answer
315 views

Can I encrypt the Sitecore Publishing Service connection strings?

Is there a way to encrypt the connection strings of the Sitecore Publishing Service? I don't want the connection strings to stay in clear text on the server, nor leave the system in Sitecore support ...
0
votes
1answer
139 views

Unable to fetch item using getitem method

I was trying to access item using getitem method from SOAP service. Sitecore.Data.Items.Item item = Sitecore.context.Database.GetItem(<ID>) But Item is null. I tried to fetch using Id and path ...
1
vote
2answers
389 views

Where are the access rights stored for security roles in serialized files?

When we create security roles and assign access rights, corresponding serialized files for role get created. But when we look at the files we don't see any data related to access rights. So just ...
0
votes
1answer
35 views

Determine access rights of a user in a particular role

I want to fetch access rights of a user to an item who has been under a security role. I am controlling the access to that particular item by adding the user to that role. Can someone help how I can ...
2
votes
3answers
108 views

How to Transfer Users with active password policy

I want to transfer users from our QA environment to the PROD environment on Sitecore.NET 8.2 (rev. 170728). It is totally fine if the users are deactivated and have a random password set. ...
1
vote
1answer
157 views

Inheriting Sitecore Roles

I have a role "Editor" which is having certain permissions and don't have read access to Sitecore/Social item. Now i need to create a new role "Approver" which is having same access as Editor but ...
1
vote
1answer
98 views

Sitecore roles required for content testing

I'm using Sitecore 8.2 Update 7 and I'm trying to restrict access to my Sitecore Content Editors. One of them wants to run a content test using the built-in testing controls. When I go to "Create a ...
4
votes
3answers
217 views

How to identify which users have access to particular item?

I want to know the users who all have access Read/Write to particular item. How to fetch that info? is there any SQL table to extract?
0
votes
0answers
77 views

Combination of multiple roles

We have a multi-app multi-site app structure like follows: Commerce BE Pages Feature 1 Feature 2 DE Pages Feature 1 Feature 2 NL Pages Feature 1 Feature 2 ...
0
votes
1answer
54 views

Page Creation role in Sitecore Habitat

In the Sitecore Habitat implementation, I am looking for a role that is allowed to create/rename and delete items. I see the role habitat\Project Habitat Content Author, that is only allowed to read ...
2
votes
2answers
81 views

List of recommended patches for specific Sitecore version

Is there an easy way to find a list of recommended patches for a specific Sitecore version/update? I can see that individual patches are recommended for a particular version but I can't find a a list ...
0
votes
1answer
91 views

Disabling the Autocomplete in WFFM

Is there a possibility to disable the autocomplete of Sitecore WFFM text box. We are using Sitecore 8.1