heniec

php proxy page and services secured with HTTP/Windows authentication

Discussion created by heniec on Feb 6, 2012
Latest reply on Feb 6, 2012 by ciava.at
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.

Outcomes