cancel
Showing results for 
Search instead for 
Did you mean: 

How to make webscript callable only from Share?

zladuric
Champ on-the-rise
Champ on-the-rise
Hello,

I need to implement admin-privileged repository webscript, but for security reasons I'd like to limit calling this script only to Share webscript controllers. I could then call the Share module from the client, and verify whatever I need before passing a call to this webscript.

Currently I am making two calls to the repo from my share module, which seems inefficient.

What would be a better way to do this?
4 REPLIES 4

kaynezhang
World-Class Innovator
World-Class Innovator
I'm afraid web scripts have no such feature

Why don't configure your alfresco application server to restrict access to it by IP address(for example share only):

kaynezhang
World-Class Innovator
World-Class Innovator
I'm afraid web scripts have no such feature

Why don't configure your alfresco application server to restrict access to it by IP address(for example share only):

kaynezhang
World-Class Innovator
World-Class Innovator
I'm sorry,I have a bad connection which always cause me to post twice.

zladuric
Champ on-the-rise
Champ on-the-rise
I've ended up adding an access token when calling from share webscript. I cannot really restrict the access to the full repo, as there are other places I pull info from Alfresco from.