ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > Internet > Internet Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 09-25-2006, 01:22 AM   #1 (permalink)
New Member
 
Join Date: Sep 2006
Posts: 6
Default make a user and pass for website

hey im gona make a website and i would like it to say register user name and pass. when they register them i would like them sent to my email so i can go on and monitro thier account.


how do i do this?
computerz is offline   Reply With Quote


Old 09-25-2006, 02:25 PM   #2 (permalink)
Gold Member
 
vetto89's Avatar
 
Join Date: Jul 2006
Location: Italy (Brianza alcoolica)
Age: 18
Posts: 358
Default

you can't do it with html only, but you must use php or asp with a database like access(with asp) or mysql (with php)
vetto89 is offline   Reply With Quote
Old 09-25-2006, 02:27 PM   #3 (permalink)
Diamond Member
 
Rip_Uk's Avatar
 
Join Date: Jul 2005
Location: West Midlands, UK
Age: 23
Posts: 1,526
Default

you can add a small javascript feature which requires a username and password, and if the wrong one is inputted, the script can redirect you to a failed login page but nothing as complex as php.

Here is a good example of what I was trying to explain;

http://www.willmaster.com/blog/conte...striction.html

I will quote;

Quote:
This is not military grade access restriction.

It does, however, provide a measure of protection about equal to having hidden web page file names. In either case, unauthorized access attempts are reduced to guessing file names.
__________________
NZXT Nemesis
Samsung SM226BW 22" TFT
Msi K8n Diamond Sli
AMD 64 4400+ X2 With AS5
BFG 7950 GT
2GB (2 x 1GB) OCZ Platinum PC3200
320GB + 300GB Maxtor Diamondmax SATA
NEC ND45550 16x DVDRW +/- & DVDRAM
Enermax Liberty 620W
SoundBlaster Audigy 2 ZS

Last edited by Rip_Uk; 09-25-2006 at 02:30 PM.
Rip_Uk is offline   Reply With Quote
Old 09-25-2006, 03:36 PM   #4 (permalink)
Gold Member
 
vetto89's Avatar
 
Join Date: Jul 2006
Location: Italy (Brianza alcoolica)
Age: 18
Posts: 358
Default

only with javascript, everyone reading the code can have the password!!
vetto89 is offline   Reply With Quote
Old 09-25-2006, 03:47 PM   #5 (permalink)
Silver Member
 
Join Date: Sep 2006
Posts: 132
Default

That JavaScript solution is just ridiculous.

If you want "registration" on your site, the server should support a server-side language like PHP or ASP, and you'd need a database (typically MySQL for PHP or MS Access for ASP). You could then write it yourself or use something that's freely available.

If you're running the server yourself, you could simply download a LAMP stack (Linux, Apache, MySQL, PHP) or WAMP if you're running Windows.

If you have a hosting package, you probably already have access to a backend database and you can just set up a registration script to use that database to store user names etc.

But, if you just want authentication (a user name and password to access a file or directory), you can set that up with .htaccess files in Apache.

Last edited by loque; 09-25-2006 at 03:51 PM.
loque is offline   Reply With Quote


Old 09-25-2006, 09:35 PM   #6 (permalink)
Diamond Member
 
Rip_Uk's Avatar
 
Join Date: Jul 2005
Location: West Midlands, UK
Age: 23
Posts: 1,526
Default

Quote:
Originally Posted by loque
That JavaScript solution is just ridiculous.
Hence why I quoted;

Quote:
This is not military grade access restriction.
__________________
NZXT Nemesis
Samsung SM226BW 22" TFT
Msi K8n Diamond Sli
AMD 64 4400+ X2 With AS5
BFG 7950 GT
2GB (2 x 1GB) OCZ Platinum PC3200
320GB + 300GB Maxtor Diamondmax SATA
NEC ND45550 16x DVDRW +/- & DVDRAM
Enermax Liberty 620W
SoundBlaster Audigy 2 ZS
Rip_Uk is offline   Reply With Quote
Old 09-25-2006, 10:29 PM   #7 (permalink)
Silver Member
 
Join Date: Sep 2006
Posts: 132
Default

Quote:
Originally Posted by Rip_Uk View Post
Hence why I quoted;
I wouldn't even call it grandmother-grade protection
loque is offline   Reply With Quote
Old 09-25-2006, 10:46 PM   #8 (permalink)
P.I Dragon
 
dragon2309's Avatar
 
Join Date: May 2005
Location: KENT, UK
Age: 19
Posts: 8,237
Default

Its not as silly as you think, you could store the password/login stuff in a different script file and just include that file in the javascript head. Then when you read the source you wouldnt see the passoword. Anyone smart enough to then go looking for the file linked to with the password info in would be stopped because you changed permissions on it to make it not readable/viewable etc... by anyone who isnt meant to etc...

Of course its still very low grade, but its not quite as rubbish as you are all making out.

dragon
__________________
//``-tHe RiG iN tHe SiG-``\\

Intel Core2Duo E6600 @ 3.1Ghz - (__CPU__)
eVGA 680i SLi - (__MOB__)
4Gb Corsair Dominator DDR2-800 (4x1024Mb) - (__RAM__)
250Gb Western Digital SATAII 7200rpm - (__HDD__)
nVidia BFG 8800GTS OC 320Mb - (__GFX__)
LG DVD+/-RW 18x DVD-RAM - (__OPT__)
Triple Boot - [XP Pro] + [Vista Ultimate] + [Ubuntu 7.10] - (__OS__)

[3DMARK'03 :: 25,587] --- [3DMARK'05 :: 13,989] --- [3DMARK'06 :: 8791] - (__BENCHMARKS__)


dragon2309.co.uk - a little slice of geek

dragon2309 is offline   Reply With Quote
Old 09-26-2006, 06:18 PM   #9 (permalink)
Diamond Member
 
Rip_Uk's Avatar
 
Join Date: Jul 2005
Location: West Midlands, UK
Age: 23
Posts: 1,526
Default

Thanks dragon. At the end of the day this forum works on suggestions and ideas. If the solution will not work or it is not good enough then obviously people will use another.
__________________
NZXT Nemesis
Samsung SM226BW 22" TFT
Msi K8n Diamond Sli
AMD 64 4400+ X2 With AS5
BFG 7950 GT
2GB (2 x 1GB) OCZ Platinum PC3200
320GB + 300GB Maxtor Diamondmax SATA
NEC ND45550 16x DVDRW +/- & DVDRAM
Enermax Liberty 620W
SoundBlaster Audigy 2 ZS
Rip_Uk is offline   Reply With Quote
Old 09-26-2006, 06:56 PM   #10 (permalink)
Silver Member
 
Join Date: Sep 2006
Posts: 132
Default

Quote:
Originally Posted by dragon2309 View Post
Of course its still very low grade, but its not quite as rubbish as you are all making out.
Okay, I guess since I don't have JavaScript enabled and some of the browsers I use (Links, Dillo) don't support it anyway, count me out
loque is offline   Reply With Quote
Reply

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

BB 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
SLOW login on pc usin a server domain user ID and pass. dannaswolcott Computer Networking and Servers 3 07-07-2006 02:58 AM


All times are GMT +1. The time now is 04:06 PM.


Powered by: vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Copyright © 2002-2007 Computer Forum and Web Design Forum