It’s been a while since I dealt with WAMP and when I started with Wappler I started my education with NodeJS and javascript working with a MariaDB.
I believe your question references server configuration. Access rights are controlled by the Apache server configuration. Look into the .htaccess setup.
With a WAMP server, you need to tell the Apache environment to restrict access to folder as explained here:
Personally, I would not go that far because the error-message/login-in-form are generically created by the browser. This differs from browser to browser. I would use the security system module within Wappler to stop unauthorised access as explained here: