Hello there all, hope you possibly can help.
Concerning a folder with my webserver containing HTML files that’s password protected by means of an. htaccess file. The index file during this folder is caused by from a page outside of the directory (a ‘login’ link if you will – Obviously whenever you click on the following link it gives up the username and also password box).
What I’d prefer to do is make using this method more user warm and friendly by avoiding expressing the login box towards the users (because they shouldn’t in this instance be concerned when using the username – they should just have the password). What I would like to do will be imbed a login to the page if likely.
I will be aware of an answer which almost works. Please see your below Javascript which will be used as Allow me to set the username box to your hidden filed.
http: //javascript. world-wide-web. com/navigation/htaccess-login. html
The above code is dissatisfied by that experts claim entering incorrect login details would exhibit a blank article, un-user-friendly page of course the password is displayed inside the URL, a safety measures risk (although, if necessary, something I could live with).
If anyone understands a better solution out there now is your time to impress my home. Hope you could be of some counselling!
Thanks before hand. Mark
I didn’t bother to locate a solution guarantees however if anyone was interested in the possible solution taking that approach was as is a follower of…
Develop an HTML site which submits that will CGI script. This script checks that the password is in force – if it truly is then it submits to the. htaccess protected folder, if a possibility then it directs to some " wrong password" page thus elimiating the particular usability issues outlined inside the original post.