Permission sensitive caching | Community
Skip to main content
Level 3
Jan 10, 2022 8:06 AM UTC
Solved

Permission sensitive caching

HI ,

 

How can we do permission sensitive caching in Akamai for the resources that have a permission on the origin server like AEM.

it would be great help if  comment who has  already worked on this.

 

Thanks,

Venkatesham

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Raja-Karuppsamy
Raja-KaruppsamyAccepted solution
New Participant
Jan 11, 2022 7:32 AM UTC

@apmag 

Akamai CDN has no user base where it can check authentication against, so it can't authenticate for permission.

There are two parts in this question: Authentication and Authorization.

 

Authorization

To grant access by urls we would use property manager rules which can match by value, wildcard or regex.

 

Authentication

  • Akamai can validate by Token Auth (this is a simple signed token added as a query parameter or a cookie to a request).
  • JWT-tokens would be possible (requires some advanced configuration, behaviors in property manager are planned).
  • Such tokens need to be set by the origin as is part of origin application.
  • This video gives an simple example with node.js https://www.youtube.com/watch?v=nbZQPkf5k2w
  • Token Auth is the most popular option.

 

Alternatively Akamai can validate incoming requests could be authenticated against origin (as a https request to origin, once responded with 200 access would be granted and the asset can be delivered from Edge).

This methods are called Centralized and Remote Authorization, please check with your Akamai Representative for details.

 

Regards,

Raja

2 replies

Raja-Karuppsamy
Raja-KaruppsamyAccepted solution
New Participant
Jan 11, 2022 7:32 AM UTC

@apmag 

Akamai CDN has no user base where it can check authentication against, so it can't authenticate for permission.

There are two parts in this question: Authentication and Authorization.

 

Authorization

To grant access by urls we would use property manager rules which can match by value, wildcard or regex.

 

Authentication

  • Akamai can validate by Token Auth (this is a simple signed token added as a query parameter or a cookie to a request).
  • JWT-tokens would be possible (requires some advanced configuration, behaviors in property manager are planned).
  • Such tokens need to be set by the origin as is part of origin application.
  • This video gives an simple example with node.js https://www.youtube.com/watch?v=nbZQPkf5k2w
  • Token Auth is the most popular option.

 

Alternatively Akamai can validate incoming requests could be authenticated against origin (as a https request to origin, once responded with 200 access would be granted and the asset can be delivered from Edge).

This methods are called Centralized and Remote Authorization, please check with your Akamai Representative for details.

 

Regards,

Raja

Translate
ApmagAuthor
Level 3
Jan 11, 2022 1:15 PM UTC

Thank you for explained.

Translate