SHARE
Facebook X Pinterest WhatsApp

LinuxPlanet: Setting Up a MySQL Based Website – Part II

Written By
thumbnail
Web Webster
Web Webster
Jan 24, 2000

[ Thanks to Kevin
Reichard
for this link. ]

“In my last article covering MySQL and Web servers, I talked
about creating a guest book that would allow our visitors to leave
a message for everyone to see. This was all fine and dandy;
however, there is more that we can do with a Web site using mySQL
and Apache. In this article covering the creation of a
mySQL-based Web site, we’ll be talking about using mySQL as a
user-authentication database.

“One of the many popular features of a Web site is to create a
“Members Only” section — a section that can be only accessed by
authenticated users. Apache includes facilities to do this without
the help of an external module, but only with a flat file or a
basic database file.”

“A flat file can be useful when you’ll only have a handful of
people, and want an easy way to administer the user list. Since the
password database will be text (similar to /etc/passwd), opening it
in any text editor will allow you to edit user names and passwords.
The drawbacks to flat-file databases? With a large number of
entries, authentication becomes slower and administration becomes
much harder. When using a database file, access times are somewhat
quicker, but administration is harder since the file is not
text-based.”

Complete
Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

Red Hat reveals major enhancements to Red Hat Enterprise Linux AI
sjvn
Oct 22, 2024
How to Find AWS EC2 Instance Type Over SSH (6 Methods)
Benny Lanco
Sep 23, 2024
Crond: Daemon to Execute Scheduled Commands
Rose Hosting Blog
Sep 20, 2024
A Detailed Introduction to Oracle VirtualBox
Senthil Kumar
Sep 19, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.