Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A login feature

Status
Not open for further replies.

Artanius

Technical User
Nov 10, 2003
18
US
Anyone one have some sample html based coding where a user may login to a specified page by use of username and pass
That can be manualled adding names and passes?
Would be a bug help for my site Because current I am using bravenet to do logins but gets to pricey
 
You could do some sort of login using JavaScript. But using either JavaScript or HTML, your source code is visible to the users, so it wouldn't be very secure at all.

Authentication really needs to be done at the server side.

[sub]Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
[/sub]

AU.gif
Check out Tek-Tips Australia New Zealand forum1155
NZ.gif
 
Well bravnet is free up to 50 users then they lock it out.
to upgrade to 300 users costs 50 a year
 
Plus it just a regiment website for a game security not that big anyways.plus there are ways of hiding source
so thats it isnt viewable by anyone
 
$50 dollars a year is not a lot of money for 300 users - less than 20c each per year.

How valuable is your time to you? - because it would take several hours to implement the sort of thing you're talking about - and even then it wouldn't be as secure as a server side solution.

I guess it comes down to your preference.

[sub]Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
[/sub]

AU.gif
Check out Tek-Tips Australia New Zealand forum1155
NZ.gif
 
lol but i only need like 75 users im 19 and cash is tight i have plenty of time tho.
 
No worries... It wasn't that long ago that I was 19... know what it's like.

I'm not quite sure what sort of authentication you're after. Did you want to only show pages to people who supply a username/id - or do you want to deliver different content to each user?

Either way, I'd suggest setting up a couple of arrays in a Javascript file that align the usernames with their passwords.

You'll need to tell us more of what you want for us to be able to help too much.

[sub]Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
[/sub]

AU.gif
Check out Tek-Tips Australia New Zealand forum1155
NZ.gif
 
or is you have access to asp or php that would be even better -- or how about a protected directory on your server?

what type of server are you running?

<Signature>
Sometimes the Answer You Are LOOKING for can be FOUND BY SEARCHING THE FAQ'S @&%$*#!!!
</Signature>
 
Just all users to same spot no extra functions for each just all same. I farely new and only know basic html and such.
 
Then why not use Bravenet's password service and only have one username that everyone uses?

Kevin
A+, Network+, MCP
 
Because I using it to track members names for a list of active people in the site.
 
sounds like you are biting off more than you can chew here...what knowledge do you have about backend work?

<Signature>
Sometimes the Answer You Are LOOKING for can be FOUND BY SEARCHING THE FAQ'S @&%$*#!!!
</Signature>
 
Well bascially just things that I have taught myself. I know moderate amounts of html, javascript, also taken classes for basic, cobol and started to work on CCNA. I mainly just do a lot of computer repair thats been my trade for awhile now. Also lately in communications field with 2 way vsat systems and low orbiting broadband satelites.
 
I was just wondering if anyone had some simple coding for how to access and verify info from a different document. Because I already know how to hide source info so wont be that hard after i get how to access and edit base info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top