Select to view content in your preferred language

php proxy page and services secured with HTTP/Windows authentication

712
1
02-06-2012 03:35 AM
MarcinNiewiadomski
Emerging Contributor
Hello,

I've got js application using php proxy page.
I'd like to secure my ags services with http/windows authentication and put login info in proxy page as mentioned in js help (chapter "Working with secure resources"):

"Use server-side code (ASP.NET, JSP, PHP, etc.) to set an identity for the request. The server sends the request with the identity, and the end user never sees a login dialog. This approach requires that the service request be sent through your server. This is similar to the option discussed for tokens in Using the proxy page , but you will need to create your own code in the proxy page to set the identity."

Could you show php code example?

regards
Martin N.
0 Kudos
1 Reply
nicogis
MVP Alum
0 Kudos