HighTechTalks DotNet Forums  

Problem with webHttpBinding - it completly bypasses the asp.net authentication mechanism!

Dotnet Security microsoft.public.dotnet.security


Discuss Problem with webHttpBinding - it completly bypasses the asp.net authentication mechanism! in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Terraslate
 
Posts: n/a

Default Problem with webHttpBinding - it completly bypasses the asp.net authentication mechanism! - 07-20-2007 , 11:23 AM






I host a service called MyService.svc in a private subfolder of my
webapplication like so

/
/private
/private/myservice.svc
/private/privatepage.aspx

i use a location tag to secure the private folder to deny anonymous users.
i test this succesfully by using internet explorer to go to the
/private/privatepage.aspx and noting that i get the redirection back to my
loginpage.aspx with the rewturn url of /private/privatepage.aspx duly noted
on the querystring.

however - as you can guess by the post title - anyone is free to call my
"private" myservice.svc despite being not logged in.

the service is not protected.

what gives?

Cheers




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.