13.07.2015 Views

How to Use NDS eDirectory to Secure Apache Web ... - CGISecurity

How to Use NDS eDirectory to Secure Apache Web ... - CGISecurity

How to Use NDS eDirectory to Secure Apache Web ... - CGISecurity

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

At this point the modules will be loaded and all of the directives forMOD_TLS and MOD_<strong>NDS</strong> are available and ready <strong>to</strong> go. All that isleft <strong>to</strong> be done is <strong>to</strong> define the file restrictions in the HTTPD.CONFfile and determining when authentication is required. One simpleexample of requiring authentication and enforcing file access rightscould be as follows. Any request for a page that resides within thespecified direc<strong>to</strong>ry will prompt the user for authentication credentialsand enforce file access rights based on those credentials.<strong>Secure</strong>Listen 443 "SSL CertificateIP"AuthType BasicAuthName A_Protected_PlaceAuth<strong>NDS</strong>Tree my_company_treeAuth<strong>NDS</strong>Context .my_sales.staff .my_marketing.staffrequire valid-userWhen a request is issued for a page that resides in the privatedirec<strong>to</strong>ry, the above example will prompt the user for a valid username and password. If the user were a member of the one of the listedcontexts, only a valid user name rather than the fully qualifieddistinguished name would be required. Once the user name andpassword are supplied <strong>to</strong> the web server, the credentials are verifiedagainst <strong>NDS</strong> and the session is logged in as the specified user. Fromthen on all of the file rights that have been granted <strong>to</strong> the user areenforced by the operating system. If the user does not have file access<strong>to</strong> the requested page, a 403 Access Denied response will be returned.By using MOD_TLS and MOD_<strong>NDS</strong>, the web server is able <strong>to</strong>communicate with the browser over a secure connection and allowthe user access <strong>to</strong> only those files that the user has been granted rights<strong>to</strong> view. MOD_<strong>NDS</strong> integrates <strong>Apache</strong> with the world class securityservices that are provided by the NetWare operating system.Therefore there is no difference between managing web users and fileaccess as managing LAN users. In fact they are one and the same.F e b r u a r y 2 0 0 133

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!