m |
m |
||
Line 1: | Line 1: | ||
<div align=-justify>To password protect a single file, make sure you have the following files under your account: | <div align=-justify>To password protect a single file, make sure you have the following files under your account: | ||
− | * .htpasswd (containing the username and password to access the file) | + | * ''.htpasswd'' (containing the username and password to access the file) |
− | * .htaccess (containing the authentication rules) | + | * ''.htaccess'' (containing the authentication rules) |
In case these files aren't listed under your account, you can create them via your cPanel => File Manager or via any FTP client. | In case these files aren't listed under your account, you can create them via your cPanel => File Manager or via any FTP client. |