Make it such that customers must sign in in order to read or access a certain page on your e-commerce website. You can use Magento 2 Force Login to stop unauthorized people from accessing CMS pages, products, or store categories that aren't meant for them. You can impose mandatory login on specific pages, the cart page, and the checkout page.

They can be shown a bespoke login popup form, the normal sign-in page, or both. You can choose when to display the form and customize the login popup.

Apply Force Login On Selected Pages

Delete some pages from your online store so that customers cannot access them. Access limitations may be put on any page created by a third-party extension, be it a CMS, product category, or other type of page. Furthermore, you can enable compulsory login for custom URLs.