Jump to content

Search the Community

Showing results for tags 'password protected'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH


  • Community Calendar

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Found 2 results

  1. Ian1000


    I'm writing a website for a local organisation which has several different interest groups within it. Each of these groups has its own page, however some of the information they provide for members changes frequently. In order to save myself a lot of ongoing bother having to make all the changes for them, I'd like to have a <div> on each of these pages which has a 'contenteditable' attribute so that the organiser of the group can change parts of his/her own group's page, such as details of upcoming meeting or reviews of past meetings etc. However there needs to be a way of password protecting this via an 'Edit' button on each page to open a login popup so that only someone with the correct password for that page (the relevent group organiser) can do the editing. Each editable page needs to have its own unique password. Is this possible? In other words, if the password is correct for that page the 'contenteditable' attribute is set to 'true', but otherwise it's 'false'. I should add that I'm relatively new to web design, so I'll need a quite detailed explanation of how this can be done.
  2. Hello there, I have a page that needs to be username and password protected. I currently have a link that goes to the "login" page and from there when logged in correctly, goes to the desired page. The issue is that is someone has the direct url, they can by pass the login page. Is there a way to pass the typed in username and password and show the desired page if correct or show an error message if not??? Here's the code I'm using on the "login" page: <form name"login"> <input type="text" placeholder="Username" name="userid"> <input type="password" placeholder="Password" name="pswrd"> <input type="button" onclick="check(this.form)" value="Login"> </form> <script language="javascript"> function check(form) { if(form.userid.value == "Perry" && form.pswrd.value == "P911erry") { window.open("http://comprosinc.oiw11.com/ftp-clients/perry-county/index.htm", "_self") } else { alert("The username and password you entered are not correct") } } </script> Any and all help would be greatly appreciated! Thanks in advance, m@
  • Create New...