Public
Authored by Amrit Singh

How to use HTTP Authentication for website security?

iFS by Oracle java implements HTTP authentication to control access to web sites. It can be implemented by using Access Control Lists (ACLs). HTTP authentication serves the following crucial purposes:

When the client wants to limit access to all their websites. When the client wants only specific users to be able to access certain pages of the web site.

Implementing HTTP Authentication

Assume that you have a website where you want to specify a "Members Only" section. Also, keep in mind that everyone who accesses the site must see that a “Members Only” section exists. The users simply need to click a "Members Only" button (members.gif) displayed on the home page. They just need to enter user name and password to access this restricted section.

To implement HTTP authentication for the above scenario described above, follow these steps:

The default index.html file in the root (/) directory points to the Oracle java’s iFS Web interface. While creating a part of your website, create a file called index.html and replace the index.html file in the root directory with the file that directs to your website.

Moving on to another part of your website, create an HTML document to serve as the gateway to the "Members Only" section. This HTML page will serve as the HREF for members.gif.

Log in using an administration-enabled account to create a new ACL to implement HTTP authorization.

Assume this new ACL is named "HTTP_Auth." Assign the following rights:

Guest user - Discover access only. Qualified user - Read access.

Log in using an administration-enabled account, and apply the HTTP_Auth ACL to the index.html document created in Step 1.

Exit the browser.

Eiliana emerges as a one-stop platform where you can use your Oracle Java skills for business communities. Eiliana allows you to work with real clients while staying anonymous.

Edited
52 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment