Solved

Password Protection

Posted on 2004-10-13
10
7,876 Views
Last Modified: 2008-01-09
Hopefully an easy question for anyone who knows what thier doing!! I have a very simple HTML page with links to various documents. I would like to put password protection on this website. The Page was developed using dreamweaver. I currently have a javascript password prompt, but was hoping for something a little more secure. Can anyone point me in the right direction? Please explain carefully as I am not too hot on these things!

many thanks in advance!
0
Comment
Question by:Ice123
10 Comments
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 25 total points
ID: 12296873
Try add in security features from the Server Setting instead, or you may writing Server-side scripting language which requires user for login authentification, before he/she can view the page content. And it's definitely NOT SECURED if you just use Javascript to 'protect' your page content.

regards
0
 
LVL 10

Assisted Solution

by:rockmansattic
rockmansattic earned 25 total points
ID: 12297132
depends on your ability, server language, level of security you want/need.

sounds like you have the lowerst form, javascript
a pretty good way is to have htaccess (which most isp allowes)
A more secure way is (as ryancys says) is servser side lang like PHP are ASP

If you are not into the languages,
google htaccess and thay may work for your needs.

Rockman
0
 
LVL 14

Assisted Solution

by:Esopo
Esopo earned 25 total points
ID: 12303226
0
 
LVL 35

Assisted Solution

by:mrichmon
mrichmon earned 25 total points
ID: 12313473
Above comments plu....

If you don't have SSL then you should do something like have javascript hash the password the user enters before it is even sent to the server and then your server only stores hashes.

That way you never even transmit an actual password therby helping protect the user.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 12

Assisted Solution

by:minichicken
minichicken earned 25 total points
ID: 12326878
If you are using apache web server...

This page will show you how to set password protection for your site, it pretty easy...

http://www.javascriptkit.com/howto/htaccess3.shtml
0
 
LVL 8

Expert Comment

by:NovoNordisk
ID: 12337833
Why not have a very simple access database with a usernames and passwords field.  Then use the dreamweavers built in functions to password protect pages and create a basic login page?
0
 
LVL 1

Expert Comment

by:triseros
ID: 12612168
Ice123,

Can you tell us what languages your host supports - without this we all seem to be 'poking at the air' and offering advice and not receiving any feedback from you.

If your server supports ASP I will give you a very simple snippet of serverside code that you can try

Thanks

Paul
0
 

Expert Comment

by:Tripic
ID: 14480987
you have a few options  1 most webhosting companies have a srtup in the control panel to add secure directories where you can place your secured files. this works great if you only have a small amount of pp that need to acess it the othether option is to create a user database wuth username password and if you chose authorization level and add then set the darabase up in your site in dreamweaver I use Dreamweaver mx and its pretty simple to do if you chose that route its probbly the best route if you are going to have a large amount of pp getting into the secured areas, the only other option that i know of is using .htpasswd and .htacess files whitch work but if you have acess to a darabase your much better off.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Setting up a PHP test server in Dreamweaver 8 3,397
Best code editor tool for PC 4 132
drop down button disappears 12 99
need cgi page to refresh one time only after launch 11 132
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now