Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2005
    Posts
    3

    Default

    I was wondering if there was a way to add password protection to one of the screens I have off of a menu? I only need one password, no userid needed, so I thought if you can embedded javascript, maybe we could imbed a password too.
    Thanks!

  2. #2
    Join Date
    Dec 2000
    Location
    Out behind the henweigh...
    Posts
    5,115

    Default

    Anything on the userside is hackable. It is harder to hack the server side. Use a perl, PHP or some other cgi script.

  3. #3
    Join Date
    Jun 2005
    Posts
    3

    Default

    Yes, I thought of that. I just didn't want to go to all the trouble. My customer wants one password for the page no matter who enters it, the whole thing seemed rather superficial to me that so I thought I could throw a line of code into the menu and be done with it.

    After all, someone is less likely to look at MM. If you have done it before, I sure would appreciate some help. Otherwise, guess I'll keep looking.
    Thanks...

  4. #4
    Join Date
    Dec 2000
    Location
    Out behind the henweigh...
    Posts
    5,115

    Default

    I do not think MM is set up to do Passwords, as in, print ******** for a character string. You can link to a simple html form with the script built right in, or use the same form and send it to a Perl script. It should take less than 20 line of code to do the job.

    read the input line, parse it, check it and then jump to the actual page.

  5. #5
    Join Date
    Jun 2005
    Posts
    3

    Default

    thank you for your reply. my service provider only allows password protecting entire folders, not single *.htm files. So I'll come up with something..

  6. #6
    Join Date
    Dec 2000
    Location
    Out behind the henweigh...
    Posts
    5,115

    Default

    Hi Vinnie,

    Use the index page in the password protected directory as the password entry form...

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •