HTML - Blocking A Page, Without Password
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 Similar Tutorialsdoes 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 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 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 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 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've searched & searched, googled, etc., but no go. I'm looking for some type of list that shows the isp's for the entire country of china. I have a factory there and am producing a new product, but do not want them to copy it. Where can I find a list that shows the isp's there? Or, how can I block that entire country? Thanks in advance. I Really Need to ban this person from my website, she gets reminded of things when she visits mine and puts it on hers and she even rips off my layouts etc., how can i ban this person from visiting my website? Thanks for all your help people who are html smart, I run a yacht club in Milwaukee and I've built a private web-site for our members. I am a better sailor then I am a web-developer and I have one question. My site allows members to post notes. I don't want anyone to be able to post links. I need a bit of code that kills a link after it has been posted. I don't want their post itself to be blocked or the link wordage to be blocked but I want the link to become dead. In other words, someone posts: ....so all you have to do is click here to go to the site... I need code that makes it so if someone clicks 'click here' it takes them nowhere or it does nothing. So it just makes their link a sentence and not a link. If someone can provide me that code I'll give you a free dinner at my club (assuming you get to Milwaukee ever). Thanks, Brett wi_yacht_club@yahoo.com I have got a problem with one user or maybe several from a specific country who harrasing my site. I wont to block him. Im blocking his different ip:s but then he gets another from the same country. so I want to block the whole country. Is this possible? How do I do block a whole country from entering my site? Thanks a lot Perik I have uploaded a file containing a timesheet for my users to be able to access and print off to fill in their hours. But I dont want anyone else accessing it because the timesheet contains phone/fax numbers, email address's etc. How can I make it so that only redirected traffic will be able to access/see it? e.g www. mywebsite.com /files/ timehseet.htm Access granted? If redirect= 'www. mywebsite.com /forum/index.234234q3434' then YES Else then NO If that makes sense. I am pretty sure I have to add somthing in .htaccess but not sure what. And do I make the htaccess file in the folder of the file in question? e.g www. mywebsite /files/.htaccess ?? This is a parental control feature? Hi guys, I would like to block visitors from certain websites and if possible display a message that my website is no longer available. Please help me with this. It's crucially important. Thanks in advance http://oasisenergyconsultants.com/test.html I have 2 major problems right now: 1. my image is blocking/overlapping the numbers of a numbered list 2. my image has a border around it I can't remove. typically I add border="0", but that doesn't seem to be working this time. as you can see, the border is very visible. I'm hoping someone can give me some pointers to fix these 2 problems.. thanks Hi everyone, I have a Flash movie embeded in HTML document and I'm using 100% width and height so that users can resize the flash to fit their screens. BUT on small screens (iBook 12") 1024 x 768 the movis is too small and unreadable. The Flash movie original size is 766 x 780. Is there a way to keep the resizing but to block it when it gets down to a ceratin size??? I would love to know the answer. Please any help would be gratefully recieved. Thanks for your time in advance, Martin 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 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 |