User ManageMent Module
Build 6.8.2004
Created By: Roy L. Besiera

By Downloading this Program you have agreed by the terms
expressed in the website (http://www.dynamicprojects.net/terms.asp)


Before Everything else...

1.Open settings.txt and edit it to your preferences.
2.Make sure your Webserver Supports A.S.P (I assumed)
3.Login page,forgot password page and a signup page is not included 
  because you have to make it on your own as a separate file.
  The forms you will need is in a file forms.asp. Cut the html codes (forms)
  and paste it in your pages to integrate it into your existing pages.

  Example:

  You might want to create a file signup.asp or signup.html get the html code from
  forms.asp and paste it in your newly created page signup.asp or signup.html.
  
4. ATTENTION:

   On other server, the database might be downloadable from the browser. To protect the 
   database from being downloaded, 
   
   a.rename the db directory into a different name.
   b.Open Userman_cn.asp and edit it with notepad,dreamweaver but not MSword or wordpad
   c.Change the line that points to the directory of the database.
   
   EX: .....& Server.MapPath("db/userman.mdb") to
   
       .....& Server.MapPath("mydirectory/userman.mdb")


5.If you want to display the login information about a users who
  successfully logged in, You may optionally include the file
  UserInfo.asp to your existing Pages. Remember if a user is not logged in,
  it will display the message "You are not logged in!"
  

6. RESTRICTING ACCESS TO PAGES.	

   #1 
   
   To restrict a user using level of access 1,2, or 3

   
   Read CareFully Below.

   Basically, you have three kind of users here. Level (1)=plain user, Level (2)=Power Users, 
   Level(3)=Administrator (You)

   If you want to allow a user with level 1 access:

   <!--#include file="AuthLevel1.asp"-->

   If you want to allow user with level 2 access:

   <!--#include file="AuthLevel2.asp"-->

   If you want to allow user with Level 3 Access (you)

   <!--#include file="AuthLevel3.asp"-->


   Ok here's the idea,

   If a level 1 user logs in and go to a page intended only for level2 and up he will be
   redirected to the page where users failed to meet the authentication.

   If a level 2 user logs in and go to a page intended only for level3 and up he will be
   redirected to the page where users failed to meet the authentication.

   Of Course Level2 can go to Level1 restricted pages but he cannot go to Level3
   restricted pages. And Of Course Level 3 can go anywhere 
   Now you understand why the admin page is restricted to below Level 3 users :)

   So now it is up to you what pages are for level 1, level 1 and 2 only or pages for admin only. (level 3)

   Use the code above to restrict users.
   

   Installation:
   1. Just Unzip all files retaining the directory structure.
   2. login as admin and edit your profile (You might wanna change the password,etc..)


 

 

