'Permission to view custom html/aspx pages on modern Sharepoint site collection

We have uploaded a few custom aspx pages, CSS and scripts within a folder in the Site Pages library on the modern site collection. Users with Owner or contribute access are able to access but visitors with Read access are not able to see the content on the aspx page.

What specific permissions should we grant to visitors to be able to access content on these pages?



Solution 1:[1]

Users with read permission should be able to view pages and list items and download documents.

Did you set unique permission on these custom page?

Site Pages library > select custom page > Manage Access > Advanced

Unique permission

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Casey Yang - MSFT