Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-26-2007, 07:41 PM   #1
Member (9 bit)
 
dogdude16's Avatar
 
Join Date: Jul 2006
Posts: 463
Cool javascript login

i got free secure javascript login for this website im making and it works in internet explorer and firefox but not safari. The person im making it for wants it to be compatible in safari so is there a free secure universal javascript login you guys could recommend. the dude im making it for is a mac freak so safari support is major.


any help is appreciated.
thanks
dogdude16 is offline   Reply With Quote
Old 02-26-2007, 08:58 PM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
What are you logging into?
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 02-27-2007, 04:19 PM   #3
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Quote:
Originally Posted by dogdude16
i got free secure javascript login for this website im making
Be carefull when using client-side Javascript logins.
You can always get around them by doing a "View Source" and seeing what the password is hard coded to.
faulkner132 is offline   Reply With Quote
Old 02-28-2007, 06:14 PM   #4
Member (9 bit)
 
dogdude16's Avatar
 
Join Date: Jul 2006
Posts: 463
i am making a website so that when you go there you have "guest" access and when you loggin the greyed out stuff on the navigation menu turns in to colors and becomes click able for members. if that makes sense.

you can't view the source and see the password because im using external javascript so the password is in a different file.

i still have the problem of finding a universal login that works multiple web browsers including safari.


thanks
dogdude16 is offline   Reply With Quote
Old 02-28-2007, 07:20 PM   #5
~ Ryan ~
 
Join Date: Jun 2005
Location: Jackson TN
Posts: 3,516
Send a message via AIM to rspassey Send a message via MSN to rspassey
Quote:
Originally Posted by dogdude16

you can't view the source and see the password because im using external javascript so the password is in a different file.

Even if you link to the javascript file, it can still be opened and the password can be viewed.
__________________
RiotCats.com, an internet domain specifically fabricated and visually erected for the appreciation of the feline kingdom!
rspassey is offline   Reply With Quote
Old 02-28-2007, 09:04 PM   #6
Member (9 bit)
 
dogdude16's Avatar
 
Join Date: Jul 2006
Posts: 463
but how can a visitor look at a javascript file on my server. please explain so i may make it more secure plus there isn't really valuable information on his website. the person i'm making it for just wants simple security.

i started learning html this last September in school so i'm still learning.
well any way please explain some of it to me.

thanks alot
dogdude16 is offline   Reply With Quote
Old 02-28-2007, 09:13 PM   #7
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally Posted by dogdude16
but how can a visitor look at a javascript file on my server. please explain so i may make it more secure plus there isn't really valuable information on his website. the person i'm making it for just wants simple security.

i started learning html this last September in school so i'm still learning.
well any way please explain some of it to me.

thanks alot
All they have to do is to manually type in the link to your external javascript file, save it and open it in a text editor.
mairving is offline   Reply With Quote
Old 02-28-2007, 09:16 PM   #8
Member (9 bit)
 
dogdude16's Avatar
 
Join Date: Jul 2006
Posts: 463
but i got this script that will scramble the view source so it isn't readable. Is there a way around that too?
dogdude16 is offline   Reply With Quote
Old 02-28-2007, 09:41 PM   #9
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Quote:
Originally Posted by dogdude16
but i got this script that will scramble the view source so it isn't readable. Is there a way around that too?
Not possible. It MUST be in valid javascipt syntax (i.e. human readable) for it to work in browsers.

If you want something secure, you need to use server side script (PHP, ASP, etc.), not client side script.
faulkner132 is offline   Reply With Quote
Old 02-28-2007, 09:44 PM   #10
Member (9 bit)
 
dogdude16's Avatar
 
Join Date: Jul 2006
Posts: 463
what about this http://www.scriptsearch.com/details/4395.html


this only scrambles javascript code

Last edited by dogdude16; 02-28-2007 at 09:55 PM.
dogdude16 is offline   Reply With Quote
Old 02-28-2007, 10:30 PM   #11
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Why are you so keen on using javascript? It needs to be a server-side language.
mairving is offline   Reply With Quote
Old 03-01-2007, 08:57 AM   #12
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
If security is not a big concern, then stick with Javascript, it should work fine (I guess). However, if security is a concern then Javascript is not going to be the login method you need to use.
faulkner132 is offline   Reply With Quote
Old 03-01-2007, 07:49 PM   #13
Member (9 bit)
 
dogdude16's Avatar
 
Join Date: Jul 2006
Posts: 463
i guess i could use a server side script, i just have no experience with it. The server at the hosting service im using is linux based so i can use php and so on. just to note i really dont know the differences between the different server side scripts. I only have experience in html, css and javascript.

this is my goal for the site, a simple but yet fairly secure login, nothing fancy at all. This site is for small condo association.
dogdude16 is offline   Reply With Quote
Old 03-02-2007, 12:12 AM   #14
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
What you're proposing is not at all secure. I hate to say it, but it sounds like this project may be outside of your current skillset. So, what you'll have to do is some reading up on PHP and set up a server-side login. I'd suggest keeping track of logins using sessions, as this is usually easier than other methods, such as using cookies.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
Force Flow is offline   Reply With Quote
Old 03-03-2007, 05:28 PM   #15
Member (9 bit)
 
dogdude16's Avatar
 
Join Date: Jul 2006
Posts: 463
i want to try out a few php scripts on a website. so can i install php on my home computer and try out the webpages or i do i have to upload them to a server that has php and then try them?

thanks
dogdude16 is offline   Reply With Quote
Old 03-03-2007, 07:34 PM   #16
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally Posted by dogdude16
i want to try out a few php scripts on a website. so can i install php on my home computer and try out the webpages or i do i have to upload them to a server that has php and then try them?

thanks
You can install something like XAAMP if you want. Still though there is no reason to re-invent the wheel. In other words if you want to build a new computer, you buy a motherboard. You don't get the individual pieces and solder them to the board. The same applies to building a website/using PHP. It is best particularly when you are starting to download a CMS or a forum that is open-source. With that you can hack away at it and modify it. One may work like you want out of the box. If it doesn't it is still better than trying to start from the beginning. Look at OpenSourceCMS which allows you to test drive before you download and install.
mairving is offline   Reply With Quote
Old 03-04-2007, 04:09 PM   #17
Member (9 bit)
 
dogdude16's Avatar
 
Join Date: Jul 2006
Posts: 463
im having trouble using xampp, can someone help me. i have it installed and the services running but how do i view my pages.

Last edited by dogdude16; 03-04-2007 at 05:14 PM.
dogdude16 is offline   Reply With Quote
Old 03-06-2007, 08:07 PM   #18
Member (9 bit)
 
dogdude16's Avatar
 
Join Date: Jul 2006
Posts: 463
Xammp and php

i have having difficulty using xammp i have figured some out but not enough to run my php on it and i cant seem to find any good guides.

i need a php login script that once logged in, it tranfers you to the users page. and if you type guest in it takes you to the guest page. thats pretty much it, very basic but if there any free php scripts that you know of that you recommend??

Last edited by dogdude16; 03-06-2007 at 08:29 PM.
dogdude16 is offline   Reply With Quote
Old 03-08-2007, 03:06 PM   #19
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
Try asking in the PHP forum at http://www.sitepoint.com/forums/

You'll probably find people over there better able to answer your PHP questions.
Force Flow is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP login password with PCanywhere problem Harry Windows Legacy Support (XP and earlier) 2 10-05-2006 04:11 PM
Javascript (and to a lesser extent QuickTime) Problem spudmurf2k Web Design / Development 2 12-30-2005 01:33 PM
Username on Login Auriga Windows Legacy Support (XP and earlier) 2 09-04-2005 01:00 AM
PC Mech login problems Joseph S Site and Forum Issues 3 01-03-2005 06:43 PM
Administrator (me) cant login to my pc theWalrusKing Windows Legacy Support (XP and earlier) 7 12-12-2003 12:40 AM


All times are GMT -5. The time now is 07:26 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2