Welcome to WebmasterWorld Guest from 54.166.54.215

Forum Moderators: brotherhood of lan & mack

Need simple Login and protected pages for website

hosted on Win2003,Mysql,php v4

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

5+ Year Member



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)

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



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)

10+ Year Member



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..

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month