One question first, does your ISP support .htaccess and .htpasswd files (if on an Apache server)? If they are supporting CGI-Perl then it may be a likelyhood that they can support them.
Alternatively, if they do not support .htaccess (for their own security reasons) then you can easily make your way to Hotscripts if you click here. There you can find a lot to do with many different types of programming languages. For example, there are tips and tutorials, and scripts and programs (the biggest category full of sub-categories like 'security' and 'ecommerce' scripts). Have fun!