English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am looking for come way of adding a password to a page on my website, it need to be secure, so that people cant just view the page code and get the password.

2006-08-27 22:51:22 · 5 answers · asked by damien_black4 3 in Computers & Internet Programming & Design

5 answers

first, in your html, you need to use , second look for a javascript function that allows you to encrypt password in the browser before submitting it using 1-way hash md5 algorthm.. that should be good enough..

2006-08-28 00:02:41 · answer #1 · answered by bioye 2 · 0 0

it depends on the what users/usergroup will be viewing..

for usergroup viewing i suggest you add password in .htaccess file. you can add a general password for your intended audience.

for user viewing, use php scirpt that reads user's each password in the database or in a simple textfile. here you can add a unique password to each user.

use SSL only if you really want it secure. SSL is used in financial transactions on the internet.

2006-08-28 00:00:48 · answer #2 · answered by ritziyap 2 · 0 0

You must apply the SSL on it or work with https

2006-08-27 23:04:55 · answer #3 · answered by programmer 4 · 0 0

php and mysql will do this for you.

You can find prewritten scripts on:

http://www.hotscripts.com/

2006-08-27 22:54:21 · answer #4 · answered by doyler78 5 · 0 0

u don't really need ssl.

2006-08-27 23:06:05 · answer #5 · answered by jasontey 2 · 0 0

fedest.com, questions and answers