This is not strictly Perl related (possibly, not Perl-related at all), but maybe some wise monk can help me.

I have a small personal project — a Web application that should be run locally by the user. That probably makes it a desktop application, but the interface is through a browser (it kinda makes sense to represent this application as an interactive document). So I run a web server on a port with a large number.

The problem is that any user on the same computer accesses the same instance of the application, which is not good. I can ask the user for his login/password, of course, but I feel silly if I have to enter a password for a website that is actually on the same computer — it doesn't feel like a desktop application at all.

So: I need to have an application that is accessible through a web browser, but does not require authentication, while providing different content to different users. How can I do that? I currently use CGI::Application, but the Web part is not that big, so I'm willing to switch.

(one possible option would be to use fuse and the file:// protocol instead of http; but that's too much trouble)


In reply to Limiting access to a local web application by akho

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.