HTML - Password Protesting A Page?
Hello, I'm new to this forum. I really hope you can help me out. I know I'm cheating by using FrontPage to develop my site and I want to take the time to really get into and understand the underlying HTML, but unfortuantely, I just needed to get my site up and running. My question is, can I just insert some code into my HTML that will prompt for a password in order to display certain pages of my site? Really, I only need one password that I will give to everyone who uses the site, so I don't believe it has to be really difficult. I would obviously, also want to display a message if they enter an invalid passowrd. Thanks for any help you can give me!
BTW, I meant PROTECTING, not PROTESTING!!! lol Similar TutorialsHi Guys, I have a page on my web site that I wanted password protected, so I put it into a different folder that I password protected. Navigating to the page and other pages from the password protected page is no problem. But, one of the links from the page is to an IP address. When I click on that link, I get an error message of "The requested URL /stafflogin/\\( ip address ) was not found on this server." I have the link coded as: <a href="http:\\( ip address )"> Can someone please tell me what I'm doing wrong? When this page is in the root directory of the web site, it works just fine. I tried "..\http:\\( ip address )" but it still does not work. I got the following error when I coded it that way: "The requested URL /stafflogin/..\http:\\( ip address ) was not found on this server." Thanks in advance for your help... Hey guys, im looking for an HTML or java script that will allow me to have a page that cannot be viewed unless you type in a password. Reason being is i wish to have a separate page with a chat box and web cam function which can only be used by staff members for online meetings rather than having to travel to meet up. Also it would serve as a page with chat just to sit and chill. Basically im needing a button (which i can make) "staff members only" which will be located on the main website and once clicked i would like it to open up a new page which has the password form or button that opens a password box. I would like to set the password my self and only have one password and be able to change it when i feel its needed. once the password is typed in and is correct i would then like it to open up the page where the chat box is.i have searched high and low for a form like this, i have found several but once the password is typed in and is correct they will only load a file and not redirect you to a website page. Any help is welcomed Hello, My friend has a blog through blogger that she wants to be kept private, but doesn't want to have to make her friends who want to read her blog make an account through blogger just to view it. So she bought a domain name and has them connected. She wants her friends to be able to go to her domain name, have them enter a username and password that they all already know, and then be taken to her blog. I figured out most of the password stuff, just a code that you put into your html that encrypts your password... but what I don't get, is if you just put in the address of her blog, your not promted to enter a password and you can automatically read it... is there any way of getting around that? If she ended up not using her blog anymore, and just was creating html pages, is there any code that she could put in the html code to encrypt each page and require a password so people couldn't get to the "page that wants to be hidden" by just entering the url? Thanks so much!! does anyone know how to put a password into a page so that you or a selected person can access it? something like username: password: and a creation page so that you can make your own usernames and passwords... i'd use phpBB but I don't understand how to use it... cause it's blank xD oh and if it makes any difference... i use macromedia dreamweaver 2004 edition as my HTML... ect. edditor ok so i made it when u click page X it loads page Y page X = password page page Y = password protected page i have made it so in page X you need to type a password, and if you type it correctly it loads page Y, this works perfect and there is no problem my problem is anyone can just copy and paste in the page Y link in the address bar and it will load the page, i want to block the page when you don't type in the correct password in page X thanks hi, im 13, im new to html, and im making a business site. anyway, i have the latest version of Adobe GoLive (if that helps) but i'd much prefer to use plain html code. i need a page that asks for a password and if its correct takes me to a page with stuff on it. can i have a little code plz? =) thanks 1St PROBLEM OF PASSWORD HIDING HAS BEEN SOLVED,N DA 2ND PROBLEM HAS BEEN GIVEN IN THE LAST POST OF MINE. PLEASE CHECK @ALL N HELP ME. Hey friends,i'm having a JavaScript by which we can make our html page password protected. I got dis script from a site n tried,but dont know where i'm going wrong. CAN U ALL PLZ TRY IT N DEN SAY ME,HOW N WHAT TO DO. The script is as follows,which is to b placed in the head tag. Ok.. <script language="JavaScript"> <!--hide script supplied by hypergurl http://www.hypergurl.com var password; var pass1="daksh"; password=prompt('Enter your password in order to view this page!',' '); if (password==pass1) alert('Correct password, OK to enter!'); else { window.location="http://soamz.uk.to"; } // end hide--> </script> Plz help me.. My temporary site is http://soamz.uk.to Is this possible? I remember seeing this somewhere but I don't really remember how to place the info in the address. Is it something like http://test.com@username:password ? Thanks! 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. I 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 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 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? 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 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. 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 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 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 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 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 |