How can I create a protected, "restricted" website?
1 posts in topic
Flat View  Flat View

Posted By:   hendra_winata
Posted On:   Sunday, May 20, 2001 07:49 PM


I have been wandering how to create a website where u can only access it by entering a password first or somthing like that

Re: how to create a restricted website

Posted By:   Anonymous  
Posted On:   Monday, May 21, 2001 12:43 PM

Normally web servers have their own protection system already in place. If you are running Apache, for example, or anothe NCSA compliant web server, you can rely on the standard basic authentication. You can take a look ath this interesting article for Apache, and eventually check the documentation of your web server to see if they have something similar.

In addition, on the Servlet-Container side, I'll suggest you to take a look at the Servlet 2.2 Specification. Chapter 11 is entirely dedicated to the "Security" topic and can give you a clear understanding of what you can achieve with a Servlet Container. In addition, take a look at the DTD of web.xmx, the Web Application Descriptor, Paragraph 3.12 and a security example at Paragraph 13.3.2.

About | Sitemap | Contact