Recently, I looked at using cookies as a way of holding and storing password and user names so that a user will not need to apply passwords every time an update is required

I created an intranet based application that allows users to modify client records. Applying their password every time then need to update information. Many have asked why can't the system remember these passwords.

At first, I looked at using cookies, but based on troubles I am having and discusions here, it seems there are too many security holes.

What technologies could I employ to provide security, but limit users from only needing to login once. I would like a central screen that authenticates the user and then remembers the authentication credentials: each subsequent perl page can call theses credentials as needed. Therefore, I need a way to call and store the credentials safely, and another way to pull this information later. If I can get a way of creating two methods: one to store and another to recall, this allows me to easily add these methods to all scripts that require the authentication credentials

I am not looking for someone to do this for me. Rather, I am looking at suggestions of which technologies to use without complicting matters, adding more software, plugins and the like. I currently use apache, mysql, perl, cgi. Any past experiences would be greatful.

Once again, I seek the wise words of the Monks. Thanks in advance.

Simon

In reply to Safely storing password by sdyates

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.