Last post Dec 12, 2012 09:49 AM by talasila80
Dec 11, 2012 05:40 PM|talasila80|LINK
I have taken over a project and I ran into a road block yesterday. The current website cleady has a HttpHandler for image retrieval from database and works fine. We are runnning into a situation now to export our data into KML/KMZ files and I am trying to
add the imageurl to these files. The user currently logs in the secure website to export KML/KMZ files.
The current URL for HttpHandler looks like this https://abcd.com/facility.hgx?Id=2357
2357 is the picture id from the database. When I access this URL it is asking me to sigin to the website to show the picute.
I tried removing s from https but it redirects me to the https site login screen
Is there anyway I can expose the HttpHandler so that it won't ask for the login and just returns the image?
Thanks in advance
Dec 11, 2012 05:46 PM|BrockAllen|LINK
Do you really want to do this? I mean, if it requires authentication in the first place then presumably the data is sensitive, no?
Dec 11, 2012 06:10 PM|talasila80|LINK
Yes, the data is sensitive, We haven't rolled out the website yet to our real clients.
I am not worried about the security here, just trying to see how I can do this and later we will come up with how to give access to clients etc.
Dec 11, 2012 06:16 PM|BrockAllen|LINK
Ok, so find out why you're getting access denied -- i'm going to guess it's because of an <authroization> element somewhere in web.config.
You can set one path to be custom settings in web.config, as such:
Dec 12, 2012 09:49 AM|talasila80|LINK
That did it, thank you very much.