HTML - Password Protected Page
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 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... 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 I want to upload some password protected files to my site, and I'm not sure how to do this. These files would not be linked to on any of the pages, so you'd need to know the exact file path to access them. These files are not incredibly sensitive/important, so I don't need to go overboard with security, but I would at least like to have them password protected. Can someone run me through this process or link me to a good source of info? Thanks. Hi i am designing a website for a client and he wants only one page to be password protected, how do i do this with dreamweaver cs3? can you hack the password on this forum? http://www.hiddenforum.net I'm not trying to advertise but more to improve my html based password protecting code because, as far as I know, no one has created a proper one I am photographer and want to upload client jobs to a web page or whatever and allow, via password, my clients to view and/or download the job to their site, is this an easy thing to achieve? Thanks. Hi I have a couple of webcams around the house, which requires me to login to the webcams webpage with username and password, before I can view the picture from the cams. I wanted to put the pictures from all cams on the same webpage, so that I can view them all at ones, and I created a page, where I insert the images path to the cam pictures like this: HTML Code: <img src="http://username:password@webcam.page.com/picture.jpg"> This works fine in Firefox and Android browser, but in IE the pictures are not shown. Is there any way to fix this? Ps. I realise that the username and password are exposed in the image address, but since the webpage the pictures are displayed in is also password protected, I figured that this would not be a problem. Thanks. 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!! 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 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 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 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 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! Hi all, I have a directory on my website that is password protected... I'd like to set it up so the first page a visitor sees has an option to log in (with username/password form field) or register with a full form to collect their information. Right now all visitors see is an ugly gray box that asks for username and password. How can I do this? All files in the directory (including PDFs etc.) have to stay protected. Thanks! -Lynn 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'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 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 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 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'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> |