Simple Password Prodection

Posted on 2011-10-31
Last Modified: 2012-05-12
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.



Question by:Matb396
    1 Comment
    LVL 9

    Accepted 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:


    There is also a beautiful tutorial on implementing similar functionality using web.config along with an example @

    Hope this helps!


    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
    Now that Expression Web 4.0 ( is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
    The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
    The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

    728 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

    16 Experts available now in Live!

    Get 1:1 Help Now