# Using LDAP to HTTP Basic Authentication

**URL:** <https://community.f5.com/t/using-ldap-to-http-basic-authentication/32856>\
**Category:** Technical Forums\
**Tags:** dev, irules, devops, application-delivery\
**Created:** [February 5, 2013, 11:45am UTC](https://community.f5.com/t/using-ldap-to-http-basic-authentication/32856 "2013-02-05T11:45:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mario\_Uzae\_6077](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@Mario\_Uzae\_6077](https://community.f5.com/u/Mario_Uzae_6077)\
**Post date:** [February 5, 2013, 11:45am UTC](https://community.f5.com/t/using-ldap-to-http-basic-authentication/32856/1 "2013-02-05T11:45:15Z")

</div>

Hi Folks,

I’m new in this forum, and i’m using F5 BigIP version 9.4.5. I would like to know if is possible use web basic authentication querying an external LDAP database using Irule. My necessity is requere an authentication before deliver a content to the client.

I think it require a license, but i’m not sure this. I saw that using AUTH event it is possible, but i don’t know with my BigIP have a licence to do this.

Can someone explain it to me ?

Thank you in advance,

Mario

---

<div class="post-metadata">

**Author:** ![Kevin\_Stewart](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/kevin_stewart/32/15267_2.png) [@Kevin\_Stewart](https://community.f5.com/u/Kevin_Stewart)\
**Post date:** [February 5, 2013, 12:44pm UTC](https://community.f5.com/t/using-ldap-to-http-basic-authentication/32856/2 "2013-02-05T12:44:46Z")

</div>

The AUTH commands require a feature module called Advanced Client Authentication (ACA). You could certainly do what you need with ACA an iRules. That said, ACA functionality has been superseded by a new product called Access Policy Manager, which can do much more and doesn’t require as much iRule coding to perform the same functions. I’d recommend contacting your local F5 representative to discuss licensing options for either product.

---

<div class="post-metadata">

**Author:** ![Mario\_Uzae\_6077](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@Mario\_Uzae\_6077](https://community.f5.com/u/Mario_Uzae_6077)\
**Post date:** [February 5, 2013, 1:06pm UTC](https://community.f5.com/t/using-ldap-to-http-basic-authentication/32856/3 "2013-02-05T13:06:50Z")

</div>

Kevin, thank so much !!!

Mario
