Web page logins, how to do them?

/usr/usr Member Posts: 1,768
What's a way to implement a page login on a single page of a site. The main page and most material will be available to all people, but a section will be available to only authorized users. Can anyone point me in the right direction? It doesn't have to be incredibly secure like an online credit card transaction page, as the information isn't that sensitive. Just something so your average user can't stumble in and view it.

Comments

  • 2lazybutsmart2lazybutsmart Member Posts: 1,119
    I'm not that good at web apges, but here's my 2 cents.

    Suppose a person wants to access the TechNotes on this site (..just an example, ok) and he's not registered. There's gotta be a session cookie or something like that to keep track of the status of this user (guest, member, etc). Then when the person requests the TechNotes page, the cookie's will be checked and be redirected to the appropirate page, technotes or registration, respectively.

    The crux of the matter is that separate pages must be maintained for different levels of access.

    HTH
    2lbs.
    Exquisite as a lily, illustrious as a full moon,
    Magnanimous as the ocean, persistent as time.
  • bellboybellboy Member Posts: 1,017
    in the likes of this site, a database is held of usernames and passwords. sql/php websites can create these on the fly.

    some webhosts will allow access to folders and files on a website by password protecting them. this can normally only be done via a control panel such as plesk or cpanel or via the host's website.
    A+ Moderator
  • /usr/usr Member Posts: 1,768
    Databases...yuck. I want them to login using their Netware names/accounts.
  • tcpsyntcpsyn Member Posts: 28 ■□□□□□□□□□
    IIS Stores Server Variables that grab the NT username and password from a user... Netware might have something similar?

    Databases are still the way to go :)
    And we're using windows why?
  • wildfirewildfire Member Posts: 654
    If you are hosted on linux and are using Cpanel this is fairly easy, there should be an option for Directory protecion, create a sub dir ie www.domain.com/users and add directory protection on this.
    Looking for CCIE lab study partnerts, in the UK or Online.
Sign In or Register to comment.