Password protecting some features of the page

Discussion in 'Javascript' started by joe, May 14, 2008.

  1. joe

    joe Guest

    My page is open to visitors. It is a simple storefront page. When something is
    out of stock the customer is presented with an alert box saying "sorry, out of
    stock".

    I'd like to have administrators of the page be able to by-pass that alert by
    replacing it with prompt "sorry, out of stock - to override enter access code".

    How do I do that?

    Currently the passwords are in a file maintained by perl CGI and the file is
    chmodded to 600 so only the perl script can see it.
     
    joe, May 14, 2008
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.