I have a program that reads a textfile with data on it, parses it and makes active links to a website, when clicked the page is shown in a frame with internet explorer showing the site.
Now I want to password protect the program or the site to block unregistered users to use the program without permit.
I dont need anything fancy or complicated, so I just made a .htaccess file on my server to ask for a username and password.
The thing is that I want my program to automatically send the parsed textfile filename (with no extension) as username and a fixed password (the same password will be used for every user).
In Netscape, Opera and Firefox this could be done by just making the link to be something like:
http://username:password@server.com
but explorer gives a syntax error when entering this kind of address.
I dont want the users to manualy type the username and password everytime they use the program, nor do I want them to give the username and password to everyone, this is why I need the filename as username, the filename cant be changed.
Thanks in advance for your help!
|