Jump to content

[SOLVED] Protecting the upload folder


graham23s

Recommended Posts

yes. Password protect it with .htaccess. Here, i'll walk you through it.

 

1. Open a notepad.

2. Type this code in:

AuthUserFile /your/directory/here/.htpasswd
AuthGroupFile /dev/null
AuthName "Secure Document"
AuthType Basic

<LIMIT GET PUT POST>
require user username
</LIMIT>

where /your/directory/here/ is your directory and /.htpasswd is the password u want to protect it with.

 

3. Save it as .htaccess and set the file type to All.

4. Upload to ur main directory.

5. Your done!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.