문제

I want to be able to protect (some of) my website's pages with the 'Aauthentication Required' dialog boxes that pop up in the browser window and ask for username and password when you try to visit a page like http://forums.digitalpoint.com/includes/config.php or a router configuration page. I realize that it is not javascript, perhaps it has to do with file permissions? or not? Please explain.

도움이 되었습니까?

해결책

Security is handled in different ways by each web server. At least tell us which web server/version your are running, and what kind of security you want (basic, digest, ldap based..)

Here you can find the relative doc for Apache.

http://httpd.apache.org/docs/2.2/howto/auth.html

IIS 7:

http://technet.microsoft.com/en-us/library/cc772009(v=ws.10).aspx

Best regards.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top