Forum Discussion
Karthik_Krishn1
Cirrostratus
Oct 15, 2013Allow access to URL from internet based on URI
Hello ,
I am trying to develop an irule whereby access to a specific URL is allowed only when a specific URL is presented .The logic is as below :
Application 202(CAC) alone is accessible o...
Karthik_Krishn1
Cirrostratus
Oct 15, 2013Thanks Kevin . I was just told that the URL has to be accessible by both Internal ( RFC 1918 ) and Internet users. So based on new information this is what the developers want to do :
If a user is from the Internet they need to be able to access the following in the order as below:
- permit /i/*
- permit /smapps/f?p=202
- permit /smapps/f?p=cac
- reject if starts with /smapps/f?p and does not start with /smapps/f?p=202
- permit /smapps/*
- Reject all
Now if the user is from the Internal RFC 1918 network , then they should be able to access anything after /smapps/ with the only rejections being the one shown below following additional rules apply :
- reject /smapps/f?p=4550
- permit /smapps/*
- reject all
Again thanks for your help .
Mohamed_Lrhazi
Altocumulus
Oct 15, 2013I am curious about what is missing from Kevin post?
Do you need help with:
- How to write and use an iRule?
- How to code "match client IP against list of subnets" ?
- How to code "match request URI against list of URIs"?
- How to reject when conditions do not match?
- ...
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects