Folder:/ Unautherized acces

3947
11
04-06-2010 04:19 PM
by Anonymous User
Not applicable
I enable security for gis services.
when i log in as Administrator to access http://XX/ArcGIS/rest/services/SecurityFolder/World/Mapserver or
use javascript api, all processes are correct.
But if i enable ArcGIS server token serivice on this computer via http://XX/ArcGIS/Manager/default.aspx
i will got Folder:/ Unautherized acces error when i tried to access http://XX/ArcGIS/rest/services/SecurityFolder/World/Mapserver again although it looks like i  logged in already.

I am using Arcgis server 9.3, and IE 7.

I have no idea what is going on, Thank you

Regards,

Bing
11 Replies
RaviNarayanan
Esri Contributor
I enable security for gis services.
But if i enable ArcGIS server token serivice on this computer via http://XX/ArcGIS/Manager/default.aspx
i will got Folder:/ Unautherized acces error when i tried to access http://XX/ArcGIS/rest/services/SecurityFolder/World/Mapserver again although it looks like i  logged in already.


Please make sure the logged in user belongs to a role that is allowed access to this folder.

"Set permissions for GIS Web services" section in the following help topic has details on how to set permissions on a folder:
http://webhelp.esri.com/arcgisserver/9.3/dotNet/index.htm#walkthrough_sqlserver.htm
0 Kudos
by Anonymous User
Not applicable
Hi Ravi

Thank you for your reply.
Administrator can access whatever folder or services if i am not enable token services.
if i enable token services, then he can not access. Why?
i try to use gettoken.html to get token, i can get token string, i put string into map application(http://XX/demo.html)
the map is empty.

Thanks

Bing
RaviNarayanan
Esri Contributor
Hi Ravi

Thank you for your reply.
Administrator can access whatever folder or services if i am not enable token services.
if i enable token services, then he can not access. Why?
i try to use gettoken.html to get token, i can get token string, i put string into map application(http://XX/demo.html)
the map is empty.

Thanks

Bing


Please make sure that the Security settings for this map service is correct. For example, the Role of the User that generates the token, should  be allowed access to this Map Service or the folder in which the MapService is published. The following help topic provides detailed information on setting up users/roles when implementing security using SQL Server.

Please check out the section on setting permissions for GIS services:
http://webhelp.esri.com/arcgisserver/9.3.1/dotNet/index.htm#walkthrough_sqlserver.htm


Thanks
Ravi
0 Kudos
trishamerz
New Contributor II
Hi there,

I'm receiving the same unauthorized error when attempting to access the service via token authentication.

I am using SQL server express as my security store, and attempting to access the service through an admin accout, which has permissions set up to access the service.

Any feedback would be greatly appreciated
0 Kudos
AaronMielke
New Contributor III
Any luck solving this? I am having the same problem. Everything works fine until I turn security on. Users and roles are stored in SQL.
0 Kudos
Sravan_KumarUddarraju
New Contributor
I am also having same problem. Any assistance would be greatly appreciated.

Regards,
Srv
0 Kudos
Matrix_Solutions_Inc_Geomatics
New Contributor III
Anybody here figure this out?

In silver light I can request a token successfully but when I put it into the map service I get the 'Unauthorized error".
0 Kudos
nicogis
MVP Frequent Contributor
have you a token static (long token) or in proxy do you ask a token dynamic (so without referer)?
0 Kudos
ChiragDanech
New Contributor
Any solutions ? I am also facing the same issue.
0 Kudos