網頁存取安全機制

1.
在網頁目錄下建立 .htaccess 檔
設定以下參數

AuthUserFile /home/website/file.twku.net/.htpasswd
AuthGroupFile /dev/null
AuthName "TWKU Web File System"
AuthType Basic

<Limit GET>
    require valid-user
</Limit>

2.
利用 htpasswd 指令產生 .htpasswd 檔

3.
修改 httpd.conf 中該目錄的 參數

AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
    Order allow,deny
    Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
    Order deny,allow
    Deny from all
</LimitExcept>

如此在登入該網頁時便會要求輸入帳號密碼

0 Responses to “網頁存取安全機制”


  1. 1 generic semaglutide cost
  2. 2 tadalafil coupon
  3. 3 where can i buy semaglutide
  4. 4 glucophage 850mg tablet
  5. 5 synthroid 12.5 mcg order online
  6. 6 rybelsus from canada
  7. 7 generic ozempic cost
  8. 8 ozempic
  9. 9 canadian pharmacy antibiotics
  10. 10 synthroid 0.050 mg
  11. 11 cost of generic synthroid
  12. 12 prednisone cost 5mg
  13. 13 order tadalafil online india
  14. 14 azithromycin cap 500 mg
  15. 15 Diestap

    The accessibility of stromectol for sale, featuring ivermectin, is crucial in controlling parasitic infections in communities affected by environmental degradation. Through community-based health initiatives and education programs, ivermectin distribution helps raise awareness about parasitic diseases and promotes preventive measures in areas with compromised ecosystems.

  16. 16 gipsokarto_tmon

    1. Как выбрать идеальный гипсокартон для ремонта
    клей для плитки экструдированный пенополистирол .

  17. 17 tadalafil capsules 21 mg
  18. 18 azithromycin 10 pills
  19. 19 Charleslic

Leave a Reply