Hey, I built my whole entire member database through MySQL. My site will be displaying images only for the members section. The members section of my Web Site requires a username/pw thats stored in a MySQL database. Is this only a good setup for only sites that are not managing content for members. Any member can log-in, view a image thats only in the member section (no this is not an adult site), and copy and paste the address to anyother person to view.

Is there anyway to work around this? Such as using DBI to store the username/pw inside the NTFS members/users? ->I'm really not good with security or permissions so these questions might be a bit dumb. I'm using Windows, so its not like an Apache system where I can use .htaccess? -Or am I wrong about that too?

I also have HTML files that are generated from PowerPoint. If anyone has generated a powerpoint presentation into web page format, they know that theyre are a lot of files if there are a lot of slides. Each slide is a .htm file. These powerpoint presentations are only for members to view on the web. The solution I'm thinking to protect these html files is placing the .htm and presentation files (slide imgs) inside a directory not to be viewed by anyone through the web. Then in PERL, make a script verify the username/pw with DBI/MySQL that reads the .htm files and displays it in the browser. Is there any other security holes I may not know about doing it this way?

Any comments or suggestions on security for the situation im in will be nice ;)

Thanks,
Anthony

In reply to help with security info for web content by perleager

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.