SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2000
    Location
    Canada
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, could someone please tell me all the steps I need to go through to be able to have it so that a user registers and then accesses a certain folder of my site if they have the correct username and password? For example, if user "superdubs" logged in he would only be able to get to folder #5. I need to set it up so that there are like 20 folders and only certain people can get into certain folders.

    Thanks,
    Michael Wheaton

  2. #2
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well there is a really crude way you could do it in asp, PHP, or CF.

    Basically if then else

    IF username = xxx and password = yyy (I'd assume you'd be using a DB backend of somesort)

    Then (display page)

    else

    display "Access Denied"

    Not a very technical explanation I know but thats the concept behind it.

    If you're at all familiar with one of those previous mentioned languages you could do this relatively easily. If not you might have more difficulty.

    Chris


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •