Is there a way to password protect HTML pages without using a server side language?

后端 未结 10 1744
情深已故
情深已故 2021-01-14 14:36

I have a series of interlinked web pages, and I want to restrict access to these pages by asking the user to provide a login and password. However, my hosting account curren

10条回答
  •  感动是毒
    2021-01-14 15:02

    I don't know about client side scripts but you can use the web server to restrict access to your site.
    In IIS you can use "directory security" tab settings: configure IIS Web site authentication

提交回复
热议问题