Welcome to WebmasterWorld Guest from 54.196.208.6

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Need simple Login and protected pages for website

hosted on Win2003,Mysql,php v4

     
5:22 pm on Feb 27, 2009 (gmt 0)

New User

5+ Year Member

joined:Feb 27, 2009
posts:1
votes: 0


Hi All,
I need to protect a few pages of my site with login area:
hosting company is using windows 2003/php4 and mysql support:

the hosting company has already set up a subweb with 1 UN/PW:

mysite.com/
----------protected/(subweb,anonyous browsing is off-Master UN/PW)
-------------User_1/
------------------user1.file
------------------user1.file
-------------User_2/
------------------user2.file
------------------user2.file
-------------User_3/
------------------user3.file
------------------user3.file

I need an easy way to create and secure subfolders under /protected/ for multiple users to only view their own subfolder, and view or download files in their folder.

so i need a way to edit and create users,give them access to their own folder, but not any others, and mask the Master UN/PW of /protected/ from users, but still connect to protected for all users with the master UN/PW.

i have tried login redirector 1.3, but does not work.

i do not know much programming.
my host server supports mysql and php 4

any help would be great!

11:30 am on Mar 1, 2009 (gmt 0)

Moderator This Forum from GB 

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 30, 2002
posts:4842
votes: 1


Welcome to the forums Vern,

Have you tried having a look at hotscripts.com and similar sites?

Setup should be relatively pain free as this kind of script is often asked for; so I'm sure there will be a ready-made script for you to begin using.

9:16 pm on Mar 2, 2009 (gmt 0)

Full Member

10+ Year Member

joined:Mar 29, 2003
posts:204
votes: 0


If your pages are Microsoft ASP.net based you can use forms authentication which is one centralized means of managing all usernames and passwords. It's in the web.config file.

This is not the best way to go but it will work.

You didn't mention, but are you using php or asp or asp.net ? ...

I see that php is installed along with mysql but is that what your site is going to run? I also see Win2k3...

Please elaborate..