javascript or html ?
i want to add a authentication required box like the netgear routers have ?how ca开发者_StackOverflow社区n i code my website to do so ?
You will need to follow these steps:
1)create a password file in your www folder
2)configure http.conf
Find a tutorial here
Neither. That's HTTP. Specifically, basic auth.
While this can be done in your server side programming language (e.g. in PHP and a Perl module), it is usually handled by your web server. The specifics depend, of course, on which web server you are using. For example, here are instructions for Apache HTTPD and for IIS.
精彩评论