Hesk POP and PIPE - move to under admin

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
scanreg
Posts: 30
Joined: Thu Mar 12, 2009 12:54 pm

Hesk POP and PIPE - move to under admin

Post by scanreg »

Script URL:
Version of script: 2.4.1
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

we protect our /admin directory using htaccess

would be great if hesk_pop3.php and hesk_pipe.php could be moved under the /admin dir to help protect them as well. we do rename hesk_pop3.php and hesk_pipe.php but placing them under /admin and using the htaccess protection would be great

hth

thanks
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hesk POP and PIPE - move to under admin

Post by Klemen »

You can simply password-protect the two files as well. For example by placing a .htaccess inside "inc/mail" folder with this code:

Code: Select all

<FilesMatch "hesk_pop3.php">
AuthName "Member Only"
AuthType Basic
AuthUserFile /home/username/.htpasswd
require valid-user
</FilesMatch>

<FilesMatch "hesk_pipe.php">
AuthName "Member Only"
AuthType Basic
AuthUserFile /home/username/.htpasswd
require valid-user
</FilesMatch>
Just change /home/username/.htpasswd to the same .htpasswd file you have for the admin folder and you're good to go!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
scanreg
Posts: 30
Joined: Thu Mar 12, 2009 12:54 pm

Re: Hesk POP and PIPE - move to under admin

Post by scanreg »

ah, i didn't know that you could pwd protect specific files using htaccess

big thanks! :)
Post Reply