Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Aem 6.4 how to retrict some page access using sling service

Avatar

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
ashutot1
Level 2

27-06-2020

Hi team, how can we restrict some aem site page access .Can anyone suggest plz

 

hi all, thanks for the reply..i wanted to ask that can we retrict the page access for paricular user on publish and author both instance - 

example - suppose end user is accessing our website abc.com where they are accessing a page which we shpuld not show the enduser..any concept we have in aem to do so....i know ocking page but it is for retrict editing for two or more author sametime.

 

second query is  - can we apply clientlib only for specific component is there anypropery by which we can do so as we dont want to apply library on whole page

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

27-06-2020

Could you please explain use case in details? The above description is not clear? Please mentioned where you want to restrict page, Author/Publisher? Who can access those pages? etc.

Avatar

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct Reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct Reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
MVP

28-06-2020

Hi @ashutot1,

I agree with @Arun_Patidar that your question lacks details 😕 I'm sorry, I'm sure many people would love to help you, but this is just not enough information to go on. I usually wouldn't answer a question like this but I happen to have already recorded a video for another question which might be useful to you: https://www.youtube.com/watch?v=Pq4kv8MxXUI.

If that doesn't help, please describe what you want to do in much more detail so we can lend you a hand 🙂

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct Reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct Reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

28-06-2020

Could you please add more details on this?

 

Avatar

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
ashutot1
Level 2

29-06-2020

hi arun, thanks for the reply..i wanted to ask that can we retrict the page access for paricular user on publish and author both instance - 

example - suppose end user is accessing our website abc.com where they are accessing a page which we shpuld not show the enduser..any concept we have in aem to do so....i know ocking page but it is for retrict editing for two or more author sametime.

 

second query is  - can we apply clientlib only for specific component is there anypropery by which we can do so as we dont want to apply library on whole page

Avatar

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
ashutot1
Level 2

29-06-2020

Hi Ankur, thanks for the reply..i wanted to ask that can we retrict the page access for paricular user on publish and author both instance - 

example - suppose end user is accessing our website abc.com where they are accessing a page which we shpuld not show the enduser..any concept we have in aem to do so....i know ocking page but it is for retrict editing for two or more author sametime.

 

second query is  - can we apply clientlib only for specific component is there anypropery by which we can do so as we dont want to apply library on whole page

Avatar

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
ashutot1
Level 2

29-06-2020

hi  thanks for the reply..i wanted to ask that can we retrict the page access for paricular user on publish and author both instance - 

example - suppose end user is accessing our website abc.com where they are accessing a page which we shpuld not show the enduser..any concept we have in aem to do so....i know ocking page but it is for retrict editing for two or more author sametime.

 

second query is  - can we apply clientlib only for specific component is there anypropery by which we can do so as we dont want to apply library on whole page

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

29-06-2020

Hi, You can restrict the pages in Authors using ACL. https://helpx.adobe.com/experience-manager/6-3/sites/administering/using/security.html#Permissionsin...
In publisher, you can use CUG to allow access to restricted pages, user has to login to see those pages.

https://docs.adobe.com/content/help/en/experience-manager-learn/assets/advanced/closed-user-groups.h...

 

 

Avatar

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
ashutot1
Level 2

Likes

4 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
ashutot1
Level 2

29-06-2020

Thanks arun and team,

anycase, sling service also used for this kind of purpose.

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,428 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

29-06-2020

You can do it using Sling filters but for that you need to disable the dispatcher caching for those pages so that request can hit publisher and sling filter can validate the access.

But how would you planing to identify the user type/segments?