Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-03-2008, 06:04 AM
gelcreative's Avatar
WebProWorld Member
 

Join Date: Nov 2003
Location: Kent, UK
Posts: 80
gelcreative RepRank 0
Default Creating a quick and easy login

Hi - I've just had a request in from an old client. They are having their website rebuilt bigtime into a database driven one (about time!)

In the meantime, (probably only for about 2 weeks) they'd like their current website (www.mdh.uk.com) to restrict access to registered users through a Register/Login system. Basically they don't want anyone who hasn't registered with them to see any of the properties they have for sale. (Don't ask!!)

The current site has no facilities for a database, so I'm looking for a quick and simple fix to get through the next couple of weeks. I've trawled through hotscripts and keep finding all sorts of scripts listed but could spend hours searching out the best one to use and by then the two weeks will probably be up!

Can anyone point me in the direction of a good one, that I could set up relatively quickly without too much effort? Likely thing is they'll baulk at the cost and shelve the idea anyway so don't want to spend too much time on exploration/trialing.

Thanks !
__________________
Web design | CD-ROM design | Presentations
______________________________
www.gelcreative.co.uk
Reply With Quote
  #2 (permalink)  
Old 06-03-2008, 09:42 AM
DaveSawers's Avatar
WebProWorld Veteran
 

Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 389
DaveSawers RepRank 1
Default Re: Creating a quick and easy login

If the site doesn't have a database, then where do they hold registration information? If they are expecting users to register now for use on the current site for only a short period then I would anticipate that those users would expect their registration information to be transferred to the new site. Why can't the developers of the new site do the registration/login bit of the new site first and then use that on the current site?

For the login/registration script itself, the important thing to know is how much security is required. It's simple to write a form that GETs or POSTSs the login info to a page that checks against info on the database. It's safe enough for uses that do not require ultimate security but I wouldn't expect my bank to use it!

Are you looking for a PHP, .NET or other implementation?
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote
  #3 (permalink)  
Old 06-03-2008, 10:37 AM
Dubbya's Avatar
WebProWorld 1,000+ Club
 

Join Date: Nov 2006
Location: Steinbach, Manitoba, Canada
Posts: 1,396
Dubbya RepRank 3Dubbya RepRank 3Dubbya RepRank 3
Default Re: Creating a quick and easy login

In this case, since it's temporary, why not just have the Server Administrator set up basic http authentication on the site.

All users can share the same login information and the Admin can easily remove it once the new site is in place. Set it up, send out an email to users requiring access and let them log in and out as they see fit.

Leave it in place until the new site is ready to roll. You won't have any scripts to worry about and no database to administer.

No database to implement, no script hacking and, as long as none of the users share the user name/password in a forum or blog it'll work without any problem whatsoever.

Send an email to the Server Admin to see what they can do for you. I doubt you'd have any problem getting this set up.

Simple, inexpensive (probably FREE) and, IMHO, the perfect temporary solution.
__________________
Printer ink, inkjet & toner cartridges in Canada
"Price-wise printing supplies"
inkjetOasis.ca
Reply With Quote
  #4 (permalink)  
Old 06-03-2008, 10:41 AM
gelcreative's Avatar
WebProWorld Member
 

Join Date: Nov 2003
Location: Kent, UK
Posts: 80
gelcreative RepRank 0
Default Re: Creating a quick and easy login

Hmm, thanks Dubbya, but that won't work because the visitors are all unknown prospective customers !!

In my opinion they're shooting themselves in the foot, because you're supposed to make it *easy* for your prospective customers, not create barriers!
__________________
Web design | CD-ROM design | Presentations
______________________________
www.gelcreative.co.uk
Reply With Quote
  #5 (permalink)  
Old 06-03-2008, 12:02 PM
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 297
Tech Manager RepRank 1
Default Re: Creating a quick and easy login

Going with a database is the best solution. However, you could use an .htaccess protected text file for a short term solution. Store your user credential info in a separate directory and block all outside access to the script.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #6 (permalink)  
Old 06-03-2008, 08:41 PM
WebProWorld Member
 

Join Date: Jul 2006
Posts: 39
Peopleunit RepRank 0
Default Re: Creating a quick and easy login

1. Remove all visible links on the website that point to the listings.

2. (Optional) Change the URL/Folder of the listings section if you don't want existing bookmarks to work.

3. Send out an email out to all existing members, including an explanation and the (now hidden) link/URL pointing to the listings section. And ask that they not share the URL with others...

NOTE: If you change the URL for the listings section, you might modify the pages served up from any existing inbound links or bookmarks that still point to the "old" listing section too, those pages should display a notice about the new change(s), or something more appropriate.

Best of all - its QUICK! No one has to mess with registrations and you could have the whole thing done in a couple hours or less, probably.

BTW - I do accept Paypal donations -

Last edited by Peopleunit : 06-03-2008 at 08:58 PM.
Reply With Quote
  #7 (permalink)  
Old 06-03-2008, 11:38 PM
WebProWorld New Member
 

Join Date: Nov 2005
Location: Brisbane, AU
Posts: 14
bigaussie RepRank 0
Thumbs up Re: Creating a quick and easy login

Sometimes clients with weird requests have a legitimate reason; most times it is just ignorance of how the internet works. You might point them in the direction of their server log reports.

If they still want visitors to "register" before seeing their wares - I use a great little PERL script available here: SiteInteractive.com - Account Manager Professional

For less than US$90 this can handle up to several thousand "members". They can have someone check the visitor out before allowing them entry. All your server needs is PERL installed. No database, and dead easy to install and get going.

Disclaimer:
I have NO Interest in this product, other than the fact it works well with minimal overhead on your server. I host over 150 domains, and am always watching for programs which have a light footprint on our servers. Good luck.
__________________
Advice freely given -
always worth the price

www.INFOCIS.com.au
Reply With Quote
  #8 (permalink)  
Old 07-19-2008, 05:16 PM
jScott_Harris's Avatar
WebProWorld Pro
 

Join Date: Jun 2003
Location: Madisonville, Ky
Posts: 101
jScott_Harris RepRank 0
Default Re: Creating a quick and easy login

I think you're going to be stuck using http authentication to do this. Have people signup via a simple contact form online and then send them the username and pass. You can set the contact form to automatically email them the info so it shouldn't be much overhead.
__________________
J. Scott Harris
Developing the Web one site at a time | C.A.D Website Design
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy links...too easy? RHunt Search Engine Optimization Forum 4 10-06-2007 11:48 AM
Creating secure client login barry24 Web Programming Discussion Forum 2 08-09-2005 06:11 PM
Quick, easy question... I think. mlevenhagen Search Engine Optimization Forum 4 10-31-2004 06:06 PM
Creating a Secure Login Script in PHP z01d Web Programming Discussion Forum 9 07-01-2004 01:44 PM
easy 4 u, hard 4 me. quick Q need answered! DormGear.net Graphics & Design Discussion Forum 3 02-09-2004 11:23 AM


Search Engine Optimization by vBSEO 3.2.0