HTML - Password Help Please
i have a webpage, i want to add a password facility.
how can i do this? i want to store the passwords and logons on the server not on host as cookies. Your help would be greatly appreciated. Regards Shrekpete Similar TutorialsI wish to attach a password to a Web site so that only persons who know the password can view the site. I have created some code, below, but it lacks a condition to restrict entry only to persons who know the password. The password must be "birthday" without the quotes. Could someone please tell me what statements must be added to accomplish my task? Thanks, Bill <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Password02</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> password: <INPUT TYPE=PASSWORD NAME="mypassword"> <P><INPUT TYPE=SUBMIT VALUE="submit"> <p>Password02</p> <table width="200" border="1"> <tr> <td><img src="DSCF0102.JPG" width="640" height="480"> </td> </tr> <tr> <td><img src="DSCF0104.JPG" width="480" height="640"></td> </tr> </table> <p> </p> </FORM> </body> </html> I'm new to HTML and to this forum, so hello everyone! I am a hands on kind of guy and i'm currently making a sort of interactive, info/game site. My question is: For this site I have a simple page (nothing to complex), and I want to have a box for lets say Enter Code: . Note this is not a user name/password just a password so to speak. If the password is correct it will take them to a new page. If not they will stay on the current one but get a error message. To keep it simple. User enters code ---- if correct --- new page ---- if wrong --- error message. Would this be done in Javascript? Can anyone help me with this? I know this is begginer stuff but everyone has to start somwhere. On another note is it possible to have it only allow three try's or it takes you to another page? I take it would be in JS using the ++ to count the attempts. Look at this page: http://www.unit.org.uk/secure/ Can someone give me a HTML code for something like this. PS it has two passwords; buffalo and badwolf I am looking for a script that will let the user enter a username and password once and then throughput that same info into subsequent pages. I have coded a html page that shows the feed from security cameras on my network at work. Each camera has its own IP. I have each one set to display as part of a table so that the cameras are laid out on a grid. Everything works great except that you have to input the username and password for each camera before they will display. Each one has the same login info so is there a way to script it to be entered once and have the code automatically submit it for the rest? I have just set up a subfolder on my website as a standalone service. I have done this several times before and it had always worked fine. This time, when I try to reach the subfolder, it asks for a password and says that the main folder is requesting this. If I type the password of my FTP access it lets me into the site. I have gone through all the properties of the Main Site and the Sub Site and cannot see why this is happening. If any one has seen this one before, I would be pleased to hear from you. I am sorry, I don't think this is the correct topic, but I have no idea where to put it. Can someone please tell me how to generate this kind of password prompt? Everyone will have the same login/password, I will probably change it once a year, so there is no need for a form. I need to know how to create it, it's probably the most boring prompt, but its for a group of guys who don't care. I just need to tell them, this is where you go, enter this and it gives you the information. The entire site is html, so there is nothing they will change or add. Thank you, ~eDee How can I make a simple Username and password function on one of my sites? mvh Prosit Hi, i have a username and passwors scriped, but i want to know how to make the password look like ***** or somethink like that, got eny ideas JERadio™ admin@jeradio.tk http://www.jeradio.tk ok i hate when it comes to these and i am a noob. I am making like a control panel for my gameserver / web hosting company. I want a safe password gate so like users can login with there password and username. Is there any programs or is there a way you can do somthing from the c panel. any help is greatly appretiated Thanks I'm trying to customize a template that has a username and password field, and I want it to be the login to my forum. Below is the code that I have, what do I need to edit? <div id="header"> <div id="userbar"> <form action="#"> <label for="username">Username:</label> <input type="text" id="username" name="user" size="20" /> <label for="password">Password:</label> <input type="password" id="password" name="pass" size="20" /> <input type="submit" value="Login" id="login" /> </form> I'm sorry if this question has been asked hundreds of times! I am trying to make a form which has a password box and a button, and the button relates back to the password entered - so if someone typed a specific word into the password box, they'd get onto the website, but if they didn't it would have an alert telling them it was wrong. This is what I've got so far: <body> <div style="text-align: center;"> <table style="margin-left: auto; margin-right: auto; text-align: left; width: 499px; height: 439px;" background="http://www.freewebs.com/lucymarshall/ipods.jpg" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top; text-align: center;"><small><small><span style="font-family: helvetica,arial,sans-serif;">What is the surname of the current headmaster?</span></small></small><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> </tr> <tr> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> <br> <br> <div style="text-align: center;"><small><small style="font-family: helvetica,arial,sans-serif;"><small><br> <br> <br> Name</small><span style="font-family: helvetica,arial,sans-serif;">: </span></small><br> <input name="password2" size="10" type="password"> <br> </small></div> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> </tr> <tr> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top; text-align: center; font-family: helvetica,arial,sans-serif;"> <input value="A-Go-Go!" type="button"> <br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> If you could help me I would be SO grateful. Thanks! Hi, Can anyone help me password protect my website? I was thinking of adding a php page as the index and then having it redirect to the main site after the password has been entered correctly. I don't need multiple logins, just one that I can share with a few people. Any ideas? Thanks I want an input field to input a password, however I dont want it to look like a password field. I would like to dispay a default text of the date in plain text and when the user enters text into the field it is displayed as an obscured password. I use Code: <input class="exiter" <?php echo ("value=\"".date("d/m/Y")."\""); ?> type="text" name="Exiter" maxlength="10" size="10" > To display the date in plain text. But obviously when I enter data it is displayed in plain text. If I change the type to password the date is displayed as obscured text. Is this possible? I have created a website for my Dungeons & Dragons gaming group and part of the website has a section where they can download various documents that I have created over the years for the group. Is there any simple and easy (and free!) way that I can require them to put in a password in order to download these files? I am not looking for any fancy encryptions or something that would stump a hacker, but just something that would stump your casual viewer who is not a member of my D&D group. Any and all help is greatly appreciated. Thanks! Take care and have a great day.... ciao, john. Hey there i am not sure if this is the right forum but i have a quick question. I dougt this is html password protection, and i have no idea how you do it. well anyway... at this site http://www.grandstylus.co.uk/psp/ there is a password prompt when you click 'User Log In' and i was just wondering what type of coding that is and how do you do it. It looks different in mozilla from ie for some reason but its the same reason and i was wondering how you do it as i see its a actually password prompt compared the the javascript text prompt i was using. Thanks a bunch in advance. Hey all, The webpage I will talk about is the following: http://globaltransport.atw.hu/ First of all could you help me to make something with the ads? Because if you navigate to an another page of this page one more ad is being displayed, and than another, and so on...(try it and you will see what I talk about) Then, I'd like to submit a 'Members Area' on my webpage but I have no idea how to protect it with password. If possible I don' wanna use php. Only, HTML, or script that could be built in a HTML code. Could you help me in it? Thanks so much, Gajka hi, I have this:<form > <input id="Email" maxlength="40" name="Email" size="40" type="text" value=""><br /> <input id="pwd" maxlength="40" name="pwd" size="40" type="password" value=""> <label for="Submit"> </label> <input id="Submit" name="Submit" type="submit" value="Submit"> </form> In Safari and Firefox, the two boxes look the same length, you can see from diff_ff.jpg, but in IE, it looks different(please see diff.jpg), if I change "password" to "text" they will look the same in length, any solution to this? Thanks, A.C. Does anyone know the easiest way to password protect a website? I dont want to password protect just one page but the entire site WITHOUT the person having to enter a password every time they do to a new page. Im not sure how to do this and can only find information for protecting individual pages. Thanks in advance! Im using basic html for my site (its a personal family site) -Monique Hi! Please someone help me with this!! I'm updating someone else's website. I was asked to put a link on the home page to a .doc file. I uploaded the updated home page with link and the linked file to the website via Ipswitch WS-FTP. Now, what SHOULD happen is after clicking the link, the window asking to "open" or "save to disk" should pop up. What is happening instead is that a window pops up asking for a username and password. When "Cancel" is clicked, the file opens automatically. How can I fix this?? Here is the original site link: http://www.richmondtheatres.org If there is something wrong in the code, please let me know. The link is a simple "a href="http://www.richmondtheatres.org/Script Registry 9-1-07.doc"> Thanks for any help provided! |