User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 425,993 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,670 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2282 | Replies: 24
Reply
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: password protecting

  #11  
Jul 20th, 2006
This makes it harder, true. But the decryption code must also be embedded in the script. How secure is it to send an ecrypted password along with all the code necessary to decrypt it?

Again, there is no way to secure a site using client-side techniques.

However, this is trivial with server-side code and/or techniques.

Why go to elaborate lengths to attempt a client-side method that will never be secure, instead of clicking through a wizard on your web server config console?

Just contact your host, tell them you want basic authentication for your directory, and be done with this.
Reply With Quote  
Join Date: Jan 2006
Location: Tennessee
Posts: 1,567
Reputation: 'Stein is on a distinguished road 
Rep Power: 6
Solved Threads: 102
Colleague
'Stein's Avatar
'Stein 'Stein is offline Offline
Lapsed Skeptic

Re: password protecting

  #12  
Jul 20th, 2006
Originally Posted by tgreer
Just contact your host, tell them you want basic authentication for your directory, and be done with this.

Heh, good idea, I'll be doin that as soon as I can.

Thanks again guys.


EDIT: One last thing, if ya don't mind.

What would be the best place (in your opinion at least) to learn basic coding? I was originally thinking a book...but I dunno.
Last edited by 'Stein : Jul 20th, 2006 at 1:03 pm.
Now if ya like the help ya could always raise our reputation...
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: password protecting

  #13  
Jul 20th, 2006
The Visual QuickStart series is good. The book I learned basic HTML coding from was by Elizabeth Castro. That was years ago, and I'm sure the book has been updated to cover CSS, and DHTML, by now.

First learn XHTML, which is the current version. It's the core markup, the elements. You then learn CSS for how to "style" and "place" those elements on the page. JavaScript, you learn as-needed.

For sites that actually "do something", you'll need to learn a server-side language, and I recommend PHP. Learn PHP and MySql together, there should be thousands of books on that topic.
Reply With Quote  
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 108
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: password protecting

  #14  
Jul 20th, 2006
What language? I always find that hands on dirty is the best way to go.... look at other people's code, and go from there.... try little things yourself, practice code, and find an idea that you real like..... for example, my first real project was a simple program that acted as a computerized rolodex.... so I could keep track of people and their phone numbers.... so, take an idea, and run with it.

EDIT: TGreer and I Part ways on that one I'm a perl guy.
Last edited by Comatose : Jul 20th, 2006 at 3:54 pm.
Reply With Quote  
Join Date: Jan 2006
Location: Tennessee
Posts: 1,567
Reputation: 'Stein is on a distinguished road 
Rep Power: 6
Solved Threads: 102
Colleague
'Stein's Avatar
'Stein 'Stein is offline Offline
Lapsed Skeptic

Re: password protecting

  #15  
Jul 20th, 2006
Originally Posted by Comatose
I always find that hands on dirty is the best way to go.... look at other people's code, and go from there.... try little things yourself, practice code, and find an idea that you real like..

Heh that's how I love to learn....but that's just complicated when ya know virtually nothing in the topic :mrgreen:
Now if ya like the help ya could always raise our reputation...
Reply With Quote  
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 108
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: password protecting

  #16  
Jul 20th, 2006
I know how that is, and it can feel overwhelming.... so, take an idea... what do you want to do? Build a website? Build an app for the PC? Figure out what you want, and then go step by step. If it's a web site, look at some source of a simple page, and figure out what the HTML or XHTML is doing....
Reply With Quote  
Join Date: Jan 2006
Location: Tennessee
Posts: 1,567
Reputation: 'Stein is on a distinguished road 
Rep Power: 6
Solved Threads: 102
Colleague
'Stein's Avatar
'Stein 'Stein is offline Offline
Lapsed Skeptic

Re: password protecting

  #17  
Jul 20th, 2006
Good idea...and am beginning to look into it now (improving my website/build others).

Last question, what's the diff between HTML and XHTML?
Now if ya like the help ya could always raise our reputation...
Reply With Quote  
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 108
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: password protecting

  #18  
Jul 20th, 2006
TGreer may have a better explanation, but at the gist of it, HTML isn't 100% XML compatible. There are syntax issues, because HTML doesn't demand that you "close" every tag that you open. For example, most of the time in HTML, you have to start a bold tag <B> and then close it when you no longer want bold text </B>. <B>This would be bold</B>. Sometimes though, such as the HR, BR, and Image tags, there is no closing tag for them.... so <BR></BR> is just silly, because it's just a line break, not a tag that needs a start and a finish..... XML demands that all of the tags that are opened, be closed as well (like the <B> tag). So, what do you do for tags that have no closing cousin? You add a /. So, you could do a line break like this: <BR />, and that would be XML Compliant. I might be a little off, but on the very base of it, I'd say that XHTML is XML Compliant HTML..... if that makes any sense.
Reply With Quote  
Join Date: Jan 2006
Location: Tennessee
Posts: 1,567
Reputation: 'Stein is on a distinguished road 
Rep Power: 6
Solved Threads: 102
Colleague
'Stein's Avatar
'Stein 'Stein is offline Offline
Lapsed Skeptic

Re: password protecting

  #19  
Jul 20th, 2006
Heh sure does, makes a ton of sense. Last question (I swear ), is there a good code-writing program I should use, if any? Earlier today I downloaded Visual Basic '05. Any good?
Now if ya like the help ya could always raise our reputation...
Reply With Quote  
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 108
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: password protecting

  #20  
Jul 20th, 2006
Some swear by it, others swear at it. I'm in the latter group. I wouldn't suggest it if you plan to be doing web pages (though, you can do web pages with it, I wouldn't suggest it). To be honest, I think notepad is the best answer (or some other text editor that does syntax highlighting, like VIM For windows, or Golden-Pen) to learn how to code HTML/Javascript with. If you learn from that level, everything else will just make sense.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 12:02 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC