www.webdeveloper.com
Results 1 to 4 of 4

Thread: Creating a login

  1. #1
    Join Date
    Aug 2007
    Posts
    1

    Creating a login

    so i run a webpage on the side, nuttin real big...but i want to be able to create a user name and password appliation where certain people can just log into the website and view certain files...and i have no clue where to start

  2. #2
    Join Date
    Jul 2007
    Posts
    113
    Quote Originally Posted by rtbball
    so i run a webpage on the side, nuttin real big...but i want to be able to create a user name and password appliation where certain people can just log into the website and view certain files...and i have no clue where to start
    Many web hosts allow you to create a password protected section of your site through a control panel. Check your documentation to see if that is available. If it isn't you need to be able to use a .htaccess file (on unix/linux servers )

    If neither of those options is available you need a better web server company.

  3. #3
    Join Date
    Aug 2007
    Location
    MD, USA
    Posts
    3
    Doing this with flat HTML isn't possible, Javascript you can but the security will be very very weak!

    Anyways, if your server is Apache, then most likely you will be able to use .htaccess.

    Here's one you can use with Apache: http://www.javascriptkit.com/howto/htaccess3.shtml

    Here's another one if you are on IIS: http://www.troxo.com/products/iispassword/

    I recommend do a search in www.hotscripts.com, under Javascript or PHP section. Note, to run PHP scripts your server must have it installed.

  4. #4
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,211
    No one may like this one, but it is a quick and easy setup tool:

    Bravenet Password Protect

    Ron

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles