Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > formsAuthentication without configuring in web.config

Reply
Thread Tools

formsAuthentication without configuring in web.config

 
 
Tim Mackey
Guest
Posts: n/a
 
      06-04-2004
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


 
Reply With Quote
 
 
 
 
Svein Terje Gaup
Guest
Posts: n/a
 
      06-04-2004
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" <> wrote in message
news:...
> 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
>
>



 
Reply With Quote
 
 
 
 
Mary Chipman
Guest
Posts: n/a
 
      06-04-2004
You might want to grab the "Building Secure ASP.NET apps" whitepaper,
which you can download from
http://www.microsoft.com/downloads/r...eleaseID=44047. 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" <>
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
>


 
Reply With Quote
 
Tim Mackey
Guest
Posts: n/a
 
      06-04-2004
Hi Svein,
I thought this too, but dotnetjunkies has an article explaining how its
done.
http://www.dotnetjunkies.com/Tutoria...721A3FDF6.dcik

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


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PIX 506e - Configuring VPN Client Remote Access only using local DB without any external radius or tacas server l'illuminato Cisco 1 11-30-2006 08:10 PM
Configuring Cisco IP phones without CM KR Cisco 0 05-31-2005 06:00 PM
FormsAuthentication without the '?ReturnUrl' variable Itai ASP .Net Security 3 08-17-2004 10:31 PM
Configuring FormsAuthentication from code ringi ASP .Net Security 3 07-14-2004 01:06 PM
Re: FormsAuthentication - Changes in .Net Framework 1.1!? fadi ASP .Net 1 07-01-2003 02:45 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57