Select to view content in your preferred language

Secure HTML 5 application

1099
3
02-05-2013 01:51 AM
shafitrumboo
Occasional Contributor
We are building Arcgis Java Script + HTML5 application now and it will be used on all devices.
1. It should contain login screen to enter into the application and my be we will use same login will be used to authenticate the arcgisservices also
0 Kudos
3 Replies
ReneRubalcava
Esri Frequent Contributor
Well, you secure your services on ArcGIS Server, but as far as a login screen to get to your app, that's outside the scope of the API. You could use something like .NET MVC to secure access to load your URL. Passing that authentication on to the secured services is something on my list of "you should look into this", but haven't gotten around to yet. If you dont need to actually secure the services, then just sitting the page behind some form of authentication like you would with any other web app would do the trick.
0 Kudos
shafitrumboo
Occasional Contributor
Actually I'm planning to use PhoneGap along with HTML5. Your help will be appreciated
0 Kudos
ReneRubalcava
Esri Frequent Contributor
I found this sample of using authentication with PhoneGap
http://www.raymondcamden.com/index.cfm/2011/11/10/Example-of-serverbased-login-with-PhoneGap
In this case, the sample appears to be using a Coldfusion server for the authentication, but you could easily replace it with PHP/ASP or whatever your preferred platform is.

Like I said, that much is outside the scope of the JS API.
0 Kudos