I am in the process of creating a webpage with forms that will create HTML documents on my web site. I used CGI.pm to create the page that contains the form and used another script to read and write the contents of the form to a file. Each time the form is submitted it creates a new file. What I'm looking to do is use some sort of password protection for the form page so that my Hard Drive cannot be filled with useless crap. This is the 1st time I have used Perl/CGI. I have the Perl Black Book and have been using it as a reference but am looking for some references on password protection or better yet username and password protection.

My grand plan would be when someone clicked the link to go the the form page and username and password "box" (for lack of a better word) would appear and if those values were correct take them on to the page and if not, deny access.

I am open to suggestions and links for reading. I've done searches on my own but have found no sites that are down to my newbie level yet. Thanks for any help

In reply to Password Protection for Web Page. by augamecock

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.