Ask a Question related to ASP.NET Security, Design and Development.
-
Tim Mackey #1
formsAuthentication without configuring in web.config
Hi,
I have a web site that uses normal windows authentication.
I have a web service on the site that i want to configure Forms
Authentication for, but it obviously doesn't fire unless i change the
setting in web.config. is it possible to use formsAuthentication only for
the web service?
i tried using a custom httpModule, but i don't think my own encryption
efforts would be as good as what's used in FormsAuth to encrypt the ticket.
thanks for any tips
tim mackey.
--------------------------
67d0ebfec70e8db3
Tim Mackey Guest
-
Configuring Session remote object in flex-config
Hi Is it possiobe to configure session remote object in flex-confg.xml like other named services?. I am configuring like this. <object... -
Configuring FormsAuthentication from code
I have an asp.net application that has more then one login page. Different logon pages are used depending on how the customers have configured the... -
Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
I had many ASP.NET web applications that I created before I had to rebuild my machine. After a fresh install of XP Pro, VS.NET 2003, etc, I now... -
config file: a) what Module ? b) conditionals in config (for multiple hosts)
Hi, a) I am looking for a module to handle config files. There are a number of these modules, like AppCconig. Any consensus about The Right... -
[RCR] Include CONFIG::Config['rubydocdir'] in rbconfig.rb
Hi folks, I apologise if people have read this RCR and are not interested, but this is what I consider to be an important RCR, not a merely... -
Svein Terje Gaup #2
Re: formsAuthentication without configuring in web.config
Tim,
Correct me if I'm wrong, but using Forms Authentication requires user
interaction. It isn't suited for WebServices.
Sincerely
Svein Terje Gaup
"Tim Mackey" <tim@scootasp.net> wrote in message
news:2ibl0nFkusjlU1@uni-berlin.de...ticket.> Hi,
> I have a web site that uses normal windows authentication.
> I have a web service on the site that i want to configure Forms
> Authentication for, but it obviously doesn't fire unless i change the
> setting in web.config. is it possible to use formsAuthentication only for
> the web service?
>
> i tried using a custom httpModule, but i don't think my own encryption
> efforts would be as good as what's used in FormsAuth to encrypt the>
> thanks for any tips
> tim mackey.
> --------------------------
> 67d0ebfec70e8db3
>
>
Svein Terje Gaup Guest
-
Mary Chipman #3
Re: formsAuthentication without configuring in web.config
You might want to grab the "Building Secure ASP.NET apps" whitepaper,
which you can download from
[url]http://www.microsoft.com/downloads/release.asp?ReleaseID=44047[/url]. It has
more than you need, but you can read the rest later when you need it
:-)
--mary
On Fri, 4 Jun 2004 17:06:46 +0100, "Tim Mackey" <tim@scootasp.net>
wrote:
>Hi,
>I have a web site that uses normal windows authentication.
>I have a web service on the site that i want to configure Forms
>Authentication for, but it obviously doesn't fire unless i change the
>setting in web.config. is it possible to use formsAuthentication only for
>the web service?
>
>i tried using a custom httpModule, but i don't think my own encryption
>efforts would be as good as what's used in FormsAuth to encrypt the ticket.
>
>thanks for any tips
>tim mackey.
>--------------------------
>67d0ebfec70e8db3
>Mary Chipman Guest
-
Tim Mackey #4
Re: formsAuthentication without configuring in web.config
Hi Svein,
I thought this too, but dotnetjunkies has an article explaining how its
done.
[url]http://www.dotnetjunkies.com/Tutorial/5D8B6D51-97B7-4825-B919-49A721A3FDF6.dcik[/url]
some modifications are necessary to work around the user-interaction part.
it suits me fine except i can't figure out how to only apply
formsauthentication for myService.asmx and not the whole app.
any thoughts?
thanks
tim
Tim Mackey Guest



Reply With Quote

