|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
How can i password protect my website Thank you very much for replying my previous question and now i am here with one more. I am sorry if this query exists, but i wanted to keep only the users i want on my page. For that i need to protect my website with a password. I really don't know how to do that. Could you guys please make me know how can i password protect my website ? |
#2
| |||
| |||
Re: How can i password protect my website Thats true that you need to make your websites password protected keep only the users you want on your page or you may have some parts of your web site may be private. You may do this in two ways, that are,, Using Server based password protection or by scripting. Follow this:- If you want to do this by Server based than the requirement is that your host supports it.E-mail your web host and ask them what they recommend. Many web hosts are run by experienced webmasters and will be more than willing to help. They will also know details about your hosting setup.Your Hosting provider will provide control through a control panel where you can configure the protected directories and username/passwords. Look into using server side tools, like .htaccess and .htpasswd files, php pages, or perl scripts.For a more complex membership type system, were the visitor can create and edit his own username and password, you need a fully fledged membership site system. These are normally written in php, perl or asp and usually require database (MYSQL, SQL or access) support. Never trust anything that is supposed to password protect a page that runs on the client side, as these are the easiest to bypass, and usually only restrict users from viewing the secure page by not giving them a link straight to it. You should ensure that your host supports the necessary components before you purchase a membership system. |
#3
| |||
| |||
Re: How can i password protect my website You can also protect your website with a password using Script. The javascript displays a form to enter the Username and Password. If either is wrong, it will display and alert screen like ?Wrong Username? or ?Wrong Password?. Script will present user with password entry form, and will not let visitor see your private content without providing a password.To do so , use this script:- Quote:
|
#4
| |||
| |||
Re: How can i password protect my website The scripts can be very simple with the username and password embedded in the page but only viewable in source mode to more complex ones where the password/username is encrypted and hence more secure. Quote:
|
![]() |
|
Tags: blogger, javascript, password protect, server, website |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Protect game by password | FRITZ31 | Video Games | 5 | 31-12-2009 01:29 AM |
How to protect password? | Otilio | Windows Software | 3 | 21-11-2009 05:12 PM |
Protect files from download from website | Quattro | Software Development | 3 | 06-11-2009 10:41 AM |
How to Password protect your Computer | DwinHell | Windows Software | 3 | 07-08-2009 01:07 PM |
Javascript password to protect website | vishodhan | Software Development | 2 | 03-03-2009 03:26 PM |