Radio Times Christmas Picture Quiz 2024
Quizzes & Puzzles2 mins ago
Hi I already have a code on a web page that if you click on that link it asks for a password. However what I would liek to also do is have a password on a page for example.
If someone found the page via a search engine if they clciked on that link it would ask for a password. Or if they knew the exact URL it would ask for a password before openign the page. Is there some simple Javascript for this or do I need to use CGI?
I am not a JavaScript expert!!
Thanks
No best answer has yet been selected by mollymoo. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Do you want this for a page or for a folder?
If you want this for a folder there are simple standard solutions which should be provided with your server host. If you want it for a page and you want it secure, I would use a page generating language, e.g. PHP. A combination of javascript and PHP is by far the best language to program something like this with.
Henry
Is it somehing that needs programming or is it something I can copy and paste and just change the password in the code. I am a complete novice at web design and have hardly any knowledge. I am scrap by changing basic Javascript in relation to colours and stuff.
Any links to these codes much apprecaited.
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.