ASP.NET Forms Authentication with Oracle Integrated Security



Hi all,

I am trying to develop a ASP.NET web application. I want to use Forms
Authentication for authenticating the users. But, instead of using
Oracle user id and password, can I use Integrated Security?

I tried the same with Windows Authentication, and it did work. But for
Forms Authentication, I am unable to connect to the Oracle DB. Kindly
help.

I had tried enabling/disabling the "integrated windows Authentication"
in IIS. My web.config entries are:

<configuration>
<appSettings>
<add key="ConString" value="Data Source=dev1;Integrated
Security=true;" />
</appSettings>
<system.web>
<compilation
defaultLanguage="c#"
debug="true"
/>
<customErrors
mode="RemoteOnly"
/>

<authentication mode="Forms">
<forms loginUrl="Logon.aspx" protection="All" slidingExpiration="true"
timeout="90" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
<identity impersonate="false"/>
<trace
enabled="false"
requestLimit="10"
pageOutput="false"
traceMode="SortByTime"
localOnly="true"
/>

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>

<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
/>

</system.web>

</configuration>



Thanks and Regards,
Jeevan

.



Relevant Pages

  • Re: Using IIS w/ASP .NET 2.0 Web Application Projects
    ... I've tried to explain to you the authentication mechanism as well as I can. ... When you're done, you'll see that, if you turn on Windows Authentication. ... I also know that the IIS documentation directly contradicts what you are saying. ... Integrated Windows Authentication overrides the Anonymous authentication default. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Using IIS w/ASP .NET 2.0 Web Application Projects
    ... I've tried to explain to you the authentication mechanism as well as I can. ... When you're done, you'll see that, if you turn on Windows Authentication. ... ASP.NET has a *separate* authentication configuration which IIS doesn't interfere with. ... Integrated Windows Authentication overrides the Anonymous authentication default. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: PUT returns Unauthorized; write permission granted
    ... is outside your internal network, this probably isn't going to work. ... If you use Basic authentication instead of Integrated ... Windows Authentication, does everything start working? ... > auth option I allow is Integrated Windows Authentication. ...
    (microsoft.public.inetserver.iis)
  • Re: Windows Integrated and the domain name
    ... Both NTLM and Kerberos authentication require the full realm and username - that's unfortunately the way both of those two protocols work. ... for a direct integrated windows authentication ... Microsoft Online Community Support ...
    (microsoft.public.inetserver.iis.security)
  • Re: Access denied ( From one site to another, that is in another server)
    ... If insted of configure the ASP.NET Application for Windows Authentication, ... Active Directory - Delegation: ... To verify that the application account can act ...
    (microsoft.public.dotnet.framework.aspnet.security)