HTML - Password Protect To Access A Page --- Help Plz
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 Similar TutorialsI 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 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 How do I password protect a subfolder on an apache server for example: C:\Users\Kasutaja\Desktop\my_webpage\text I have tried many tutorials but they don't make sense... 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. is it possible to configure my htaccess and htpsswd file to require authentication if you want to write to a .txt file using php, but let anyone simply read the data off of a dynamically linked swf? i have a flash site, and the text is dynamically loaded in with external .txt files, and i have some .php files where you can go to update the site that pulls the info off the .txt's to display in a form, then you can edit and submit the changes to be written to the file. thanks for the help! Please somebody tell me that what is the command in HTML to protect a page ? Hi, I am trying to restrict access to a certain page on my website. I don't really want to set up a username and password, instead of was thinking of the following 2 things to verify. #1: would be for them to enter an email address that ends in either "@weber.edu" or "@mail.weber.edu". #2: would be for them to have to enter an identification number which must start with a "w" and must have 8 numbers after the w. No more, and no less than 8 numbers. For example: Email address: jay@mail.weber.edu Identification number: W01234567 If those two conditions are met, then they can have access to the page. Any clue how to write the code for that? Thank you very much! Hi. I'm new to web development, and since I didn't have any luck on google with this I thought I'd ask here. What I need is the ability to allow only one user to access my page at a time, with the access time tied to their account/password. This is not a general web page, and you already have to vpn to get to it so overall security isn't a big deal. The system allows remote control of a few simple machines, and currently if more than one person can get to it simultaneously the last access steals control. Anyway, heres an example: Joe's Time: 1:00 - 3:00 M, cannot login before 1:00 and auto-logout at 3:00 Tom's Time: 3:00 -5:00 M, Bob's Time, etc.. I suspect this might require Java or something, but I don't have the first clue where to start looking. Its a windows box btw, and I don't have control of the user machines so this has to be set up for my local directory. Any hints (or free code if this is a simple/stupid question) are appreciated. Hi all I am trying to set up a custom 404 page for when a user visits a broken/error page. I have read several other pages telling me how to do it, and they all pretty much the same thing, however it isnt working. Keep getting this on the page when i enter a broken link: Not Found The requested URL /clients/index.htm was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I have set up a ht.access text document with the following code: ErrorDocument 404 error-page.html An error-page.html page has also been created. Now, am i even naming ht.access file right? Do i need any other code in the error-page.html to make it work? im going round in circles, getting nowhere, i hope someone can help!! 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 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 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... 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 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!! Hi, I am trying to set up a webpage where the only way someone can access it is if they came from my facebook page. What is the easiest way to do this? thanks in advance. 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 have a website so i want to know how to protect it . Hi I am not sure where to post this so i am sorry if its in the wrong place , my question is i want to prtoect parts of a website i have made from being access unless the come thru the correct reffer pages first say i have 4 pages i want to protect www.mydomain.com/page1 www.mydomain.com/page2 www.mydomain.com/page3 www.mydomain.com/page4 but i only want them to be access if they com from certain parts of my site where i have linked to them .... etc.... But i dont want to password protect them i just want them to accessed thru the correct pages , I have heard that i can do this using .htaccess but i am not sure how if anyone could help that would be great |