網頁存取安全機制

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 PatrickRat

    muhammad ali The best boxer of all time Muhammad Ali muhammad ali

  2. 2 DerekCob

    usain bolt Usain Bolt record holder usain bolt

  3. 3 gay sex porn

    “I think all of us were sprouting wood today dad.” He says. “Coach even noticed how hard we all were.” His bare ass melts to the lid of the toilet bowl. He sweats from the steam and the exertions from his continued pounding of the fierceness of his cock. He wiggles as his ass opens squeaking on the plastic surface of the thrown lid as he takes whiffs from the cum soaked pouch of the jock that covers his face.

  4. 4 gej porno

    “I knew ya couldn’t keep your hands off it.” His dad says. “Men can’t do it we are drawn to our cocks like a moth to a flame and usually that burning sensation that a man feels is the cum boiling up in our balls. You know that feelin’ doncha son?”

  5. 5 russiastarz

    Получите бонусы за регистрацию на https://888starz-russia.online

Leave a Reply