Export site with folder password protection

Hi, can I export a site with a page or folder with password protection and still work?
Thanks!


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

No. However you could implement access control with HTTP Authentication. See HTTP authentication - HTTP | MDN