homepage Welcome to WebmasterWorld Guest from 54.147.248.118
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Need simple Login and protected pages for website
hosted on Win2003,Mysql,php v4
Vern

5+ Year Member



 
Msg#: 3859299 posted 5:22 pm on Feb 27, 2009 (gmt 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!

 

brotherhood of LAN

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



 
Msg#: 3859299 posted 11:30 am on Mar 1, 2009 (gmt 0)

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.

dbdev

10+ Year Member



 
Msg#: 3859299 posted 9:16 pm on Mar 2, 2009 (gmt 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..

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved