Forum Discussion
How to pass credentials via scripts
Hello,
We recently rolled out f5 APM in front of our public facing websites. We have several clients that use bots or scripts (.NET c code, actually) to "web scrape" data from our HTML pages.
Is there a way to set-up APM so that they can pass credentials with their requests and have them authenticated, without having to be presented a manual login page?
Thanks -Mike
2 Replies
- Stewart
Altostratus
Hi Mike,
You don't have to have a login page to use APM.
One idea would be to use a client certificate check when your clients access your public facing websites. If they have a client certificate, that you issue, they get through and can scrape away.
Stewart.
- Matt_Dierick
Employee
Yes you can from 11.4. You can use an irule to create a Access Session based on uri or something else. You can retrieve the credential in the header for instance and create the session. Irule commands are ACCESS::session create and ACCESS::policy evaluate.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com