Skip to main content

Layer-level permissions?

Comments

3 comments

  • Permanently deleted user

    i'll answer my own question...haven't totally figured it out, but at least i know i can hook into the AuthenticationSucceededEvent event and SiteInitializedEvent and between the two with the addition of layer properties possibly, I can add/remove layers/tools at will.

     

    0
  • Ryan Cooney

    Hi Irene,

    Out of the box layer level authorization is currently under development. This should be available early in 2013.

    If you need something immediately and are up for a bit of coding you can subscribe to the SiteInitializedEvent and remove layers from the application. Or you can use a startup workflow and the GetCurrentUser activity followed by a custom activity to do the same. With these approaches you will just be hiding the layers so they don't appear for the user. The ArcGIS Server endpoints will remain unsecured.

    --Ryan

    0
  • Permanently deleted user

    Thanks,

    Yeah, that's just what I've done...created a workflow to retrieve the user and roles, then (in the silverlight api) upon site initialization, run the workflow then decide what to do with the layers (not finalized yet, but probably assign a csv list of roles via property to each special layer or something).  I have my map services secured through ArcGIS tokens, so technically I guess an authenticated GE user has an ArcGIS token that it is possible to see data that they are not authorized for.  If there is a better solution, please let me know.  I think in our scenario for now, that is fine.

     

    Thanks again

     

    0

Please sign in to leave a comment.