A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi Alex,
Here's a couple of ways:
First option is to utilise Episerver's built in Membership Provider and setup a "read" access only to your custom group, removing groups like "Everyone"
Second option is to create your own CustomAuthorizeAttribute.cs and decorate your page type controller with this attribute (how you usually would in .NET MVC)
Hi Nicola,
Many thanks for your reply. Both options look interesting, I'll give them a go!
Hi All,
Has anyone implemented the ability to password protect particular pages? I'm not talking about for editors and admins, I'm talking just for front end, user / customer, access. For example, say I have a page example.com/mysecrets and I only want people with a password that I have shared with them to be able to view the page.
Am I asking for the wrong thing? Should I be looking at customer logins... perhaps functionality that would come Commerce or something like that?
thanks in advanced,
Alex