password protected files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



AOA,

how can i password protect a single file with htaccess. i am using below technique but it not works for me

AuthName "test"
AuthType Basic
AuthUserFile /path to file/.htpasswd
<Files "test.php">
  require valid-user
</Files>

Nasir

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux