• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

Simple Password Prodection

Hi All

I'm expanding my website, and I want a restricted section just for customer.

All the customer would used the same username and password.

Is there a very simple way to implemented this?

I'm new to web design, and I know bit about HTML, but very little about PHP or ASP.



1 Solution
Please share the details of your Hosting environment.. ie. are you using IIS or Apache...

If you are using Apache you could use .htaccess file to protect access to specific content.

There are lot of tutorials on internet on how to implement .htaccess, I am sharing two of them:

1. http://www.sitedeveloper.ws/tutorials/htaccess.htm
2. http://www.freewebmasterhelp.com/tutorials/htaccess

There is also a beautiful tutorial on implementing similar functionality using web.config along with an example @ http://geekswithblogs.net/philsando/archive/2010/02/27/web.config-file-to-password-protect-a-directory-in-any-asp.net.aspx

Hope this helps!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now