1.On the way to Punducherry,Tamil Nadu,India.
2.same.
3.same.
----------------------
Case:
We are using this simplest authentication method for local connection only.The server this applied are never accessed from Internet user.
You would find this helpful if you want someone to recognize you are care for security risk, and you would probably progress this to better one such as Digest authentication(wiki) or else.
----------------------
----------------------
Instructions:
1.create password file with using "etpasswd" tool
2.add basic authentication config in config file.
----------------------
----------------------
1.create password file with using "etpasswd" tool
$htpasswd -c {the absolute path of password file} {user_name}
2.add sample code below to apply basic authentication in config file.
Let's assuming that your path to your password file is in "passwd" directory on document root and file name is "basic_auth_passwd",
"AuthUserFile" parameter value will be "htdocs/passwd/
and all you have to do is that you put those code below in your preferred "Directory" derective in config file.
-----
References:
(http://httpd.apache.org/docs/2
#Apache Core Features- Directive
(http://httpd.apache.org/docs/2.0/mod/core.html#directory)
Java,J2EE,Oracle,Linux experience and workaround tips. If you have thought at least once like "How much should I learn technologies to be good enough developer?", Yes answer is here, just read this articles.All articles are made use at real project and making clients happy!
Friday, June 27, 2008
Apache 2.0 Basic Authentication setting example
Labels:
Apache,
HTTP Server,
IT,
jobs,
SDLC-Design and Development,
Security
Subscribe to:
Post Comments (Atom)
Labels
- Apache (3)
- Certifications (1)
- DB (3)
- Debian (1)
- Design Patterns(GoF) (3)
- Freelance (8)
- HTTP Server (2)
- IT (39)
- J2EE (5)
- J2SE (10)
- Java (30)
- JAXP(XML) (1)
- jobs (41)
- Linux and Unix (3)
- Maintenance (2)
- mod_rewrite (1)
- Money Transfer from the US (1)
- Odesk Assignment (2)
- Oracle (3)
- ordinary topics (10)
- outsourcing (1)
- perfromance (2)
- SCJD (6)
- SDLC-Design and Development (13)
- SDLC-Implementation (8)
- SDLC-Initial Planning(Planning) (2)
- SDLC-Recycle(Support) (5)
- SDLC-Spec Analysis(Requirement Analysis) (1)
- Security (2)
- SEO (1)
- Struts (1)
- Test Driven Development (1)
- Tomcat (1)
- Ubuntu (1)
- Web Marketing (1)

No comments:
Post a Comment