Ask a Question related to ASP.NET Security, Design and Development.
-
Gareth #1
ASP.net web site authentication
I have an ASP.net web site that accesses a COM object remotely, but I have
to use the 'basic authentication' and not 'Integrated Windows authentication',
else I get an access denied error.
The web.config has
<authentication mode="Windows" />
<identity impersonate="true"/>
This is the code I use for creating the COM object
Type t = Type.GetTypeFromProgID("Service.myPorgID.1", "RemoteServer", true);
if ( t != null )
{
iCs = (myPorgID) Activator.CreateInstance(t);
}
else
{
iCs = null;
}
I like this work in both ways 'basic authentication' and 'Integrated Windows
authentication'.
I am using IIS5, the remote service is a 'XP SP2' and the web site is on a
windows 2000 server, all in same domain.
Thanks for the help
Gareth
Gareth Guest
-
Need help with new site (password authentication)
I'm currently working on a new tennis video magazine site. I'm not having any trouble with the video, but the login page is a nightmare for me. I'm... -
Authentication between site and its virtual directory
I have a site that uses FormsAuthentication. I have a virtual directory on this site, that is configured as a vitrual application and has it's own... -
ASP.NET Site/Webservice and Windows/Form authentication
Hi All I have an ASP.NET site which runs using Windows(NTLM) authentication over SSL. I have a webservice where a vendor is only able to call... -
site server membership authentication with ASP.NET
Am using Site Server membership authentication at the IIS level and then trying to access an ASP.NET application. The issue is i am not able to get... -
Forms Authentication from another site
A lot of the documentation in MSDN mentions in passing that it would be a good idea to place the login page on an SSL secure site. However, when I... -
Joe Kaplan \(MVP - ADSI\) #2
Re: ASP.net web site authentication
If you want to use IWA, you will need Kerberos delegation as well. A Google
search should turn up many hits in this newsgroup and in the the MS kbase.
Joe K.
"Gareth" <gareth@donotsend.com> wrote in message
news:%23pXqouJJFHA.3340@TK2MSFTNGP14.phx.gbl...>I have an ASP.net web site that accesses a COM object remotely, but I have
>to use the 'basic authentication' and not 'Integrated Windows
>authentication', else I get an access denied error.
>
>
>
> The web.config has
>
>
>
> <authentication mode="Windows" />
>
> <identity impersonate="true"/>
>
>
>
>
>
> This is the code I use for creating the COM object
>
>
>
>
>
> Type t = Type.GetTypeFromProgID("Service.myPorgID.1", "RemoteServer",
> true);
>
> if ( t != null )
>
> {
>
> iCs = (myPorgID) Activator.CreateInstance(t);
>
> }
>
> else
>
> {
>
> iCs = null;
>
> }
>
>
>
> I like this work in both ways 'basic authentication' and 'Integrated
> Windows authentication'.
>
>
>
> I am using IIS5, the remote service is a 'XP SP2' and the web site is on a
> windows 2000 server, all in same domain.
>
>
>
> Thanks for the help
>
>
>
> Gareth
>
>
>
Joe Kaplan \(MVP - ADSI\) Guest
-
Paul Glavich [MVP ASP.NET] #3
Re: ASP.net web site authentication
Or leave it as basic, and use SSL/HTTPS to encrypt the data on the wire.
--
- Paul Glavich
ASP.NET MVP
ASPInsider ([url]www.aspinsiders.com[/url])
"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
in message news:uhJDM5LJFHA.2476@TK2MSFTNGP12.phx.gbl...> If you want to use IWA, you will need Kerberos delegation as well. Ahave> search should turn up many hits in this newsgroup and in the the MS kbase.
>
> Joe K.
>
> "Gareth" <gareth@donotsend.com> wrote in message
> news:%23pXqouJJFHA.3340@TK2MSFTNGP14.phx.gbl...> >I have an ASP.net web site that accesses a COM object remotely, but Ia> >to use the 'basic authentication' and not 'Integrated Windows
> >authentication', else I get an access denied error.
> >
> >
> >
> > The web.config has
> >
> >
> >
> > <authentication mode="Windows" />
> >
> > <identity impersonate="true"/>
> >
> >
> >
> >
> >
> > This is the code I use for creating the COM object
> >
> >
> >
> >
> >
> > Type t = Type.GetTypeFromProgID("Service.myPorgID.1", "RemoteServer",
> > true);
> >
> > if ( t != null )
> >
> > {
> >
> > iCs = (myPorgID) Activator.CreateInstance(t);
> >
> > }
> >
> > else
> >
> > {
> >
> > iCs = null;
> >
> > }
> >
> >
> >
> > I like this work in both ways 'basic authentication' and 'Integrated
> > Windows authentication'.
> >
> >
> >
> > I am using IIS5, the remote service is a 'XP SP2' and the web site is on>> > windows 2000 server, all in same domain.
> >
> >
> >
> > Thanks for the help
> >
> >
> >
> > Gareth
> >
> >
> >
>
Paul Glavich [MVP ASP.NET] Guest
-
Gareth #4
Re: ASP.net web site authentication
Thanks for the help I have used the Kerberos delegation.
Gareth.
"Paul Glavich [MVP ASP.NET]" <glav@aspalliane.com-NOSPAM> wrote in message
news:urPnciWJFHA.4092@tk2msftngp13.phx.gbl...> Or leave it as basic, and use SSL/HTTPS to encrypt the data on the wire.
>
> --
>
> - Paul Glavich
> ASP.NET MVP
> ASPInsider ([url]www.aspinsiders.com[/url])
>
>
> "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
> in message news:uhJDM5LJFHA.2476@TK2MSFTNGP12.phx.gbl...>> If you want to use IWA, you will need Kerberos delegation as well. A> have>> search should turn up many hits in this newsgroup and in the the MS
>> kbase.
>>
>> Joe K.
>>
>> "Gareth" <gareth@donotsend.com> wrote in message
>> news:%23pXqouJJFHA.3340@TK2MSFTNGP14.phx.gbl...>> >I have an ASP.net web site that accesses a COM object remotely, but I> a>> >to use the 'basic authentication' and not 'Integrated Windows
>> >authentication', else I get an access denied error.
>> >
>> >
>> >
>> > The web.config has
>> >
>> >
>> >
>> > <authentication mode="Windows" />
>> >
>> > <identity impersonate="true"/>
>> >
>> >
>> >
>> >
>> >
>> > This is the code I use for creating the COM object
>> >
>> >
>> >
>> >
>> >
>> > Type t = Type.GetTypeFromProgID("Service.myPorgID.1", "RemoteServer",
>> > true);
>> >
>> > if ( t != null )
>> >
>> > {
>> >
>> > iCs = (myPorgID) Activator.CreateInstance(t);
>> >
>> > }
>> >
>> > else
>> >
>> > {
>> >
>> > iCs = null;
>> >
>> > }
>> >
>> >
>> >
>> > I like this work in both ways 'basic authentication' and 'Integrated
>> > Windows authentication'.
>> >
>> >
>> >
>> > I am using IIS5, the remote service is a 'XP SP2' and the web site is
>> > on>>>>> > windows 2000 server, all in same domain.
>> >
>> >
>> >
>> > Thanks for the help
>> >
>> >
>> >
>> > Gareth
>> >
>> >
>> >
>>
>
Gareth Guest



Reply With Quote

