User login for Javascript API

3551
3
11-23-2015 09:54 PM
SibghatUllah1
Occasional Contributor

I have made an web application using JavaScript API containing basic View and editing capabilities.Now i want to add a user login form to access this application.I have to assign certain limitations for a group of members who can only view and some can edit the operational layer.please guide me.

0 Kudos
3 Replies
KenBuja
MVP Esteemed Contributor

You should move this over the to ArcGIS API for JavaScript​ space to get better responses. Have you seen the help documentation (ags_secureservices.html | Guide | ArcGIS API for JavaScript) about working with secure resources?

TyroneBiggums
Occasional Contributor III

There are a handful of ways to manage authentication/authorization in a web app. It depends on what resources you have available to you, and how you want to manage the users (and their sessions).

0 Kudos
SibghatUllah1
Occasional Contributor

I want two these things.

1.A user login for application.

2.A user permission of editing on the basis of this login.

3.for how long user have used this application

I am using arcgis 10.3 server and IIS .My application is based on Arcgis javascript API.

Please guide

0 Kudos