BrowserUk has a good point. There is really no security save for the server end.

Think of what you would to secure a web based application. .oO(Store the information server side)

Why do you store information server side for CGI apps? because you cant trust your users to enter the correct information. A web app is client server right? Is there anything majorly different between this what you're proposing?

IMHO, stick a server client side to interact with your database. Use -T, check your input, and wuh-lah, there you have it, an inherrently more secure application. If you use CGI as your gateway, then you have a more extensible interface into your database, as well as have all the support you could ever want with perl CGI stuff right here...

Remember, the more layers of abstraction from the target, the more steps an attacker has to go to...


In reply to Re: Hiding DBI MySQL username and password values from win98 users by Ryszard
in thread Hiding DBI MySQL username and password values from win98 users by scratch

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.