Is there a way to authenticate in GeoServer with a external webpage (made with asp.net and OpenLayers)? I have restricted the access data only by certain users, and I don't want to authenticate this way:


for security reasons (the username and password are visible in the webpage code)

1 Answer 1


The best bet is to have GeoServer behind your web server. This way your requests are received by web server (IIS) first where you authenticate user and then allow features based on roles.

While there are GeoServer Authentication options and GeoPrisma, I think for 90% of apps could use this proxy approach and retain all Geo/Map data securely behind a firewall.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.