Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

subdomain application auth

$
0
0

Hi i have the same code base under different subdomains.

I have a new requirement that the same user must register under each domain as they should appear as different applications.

The question:

is is possible to have different applicaitonname for each domain?
so for x.sub.com  applicationName="xapp"  , for y.sub.com applicationName="yapp" ...etc...

<membership defaultProvider="TMembershipProvider">
<providers>
<clear />
<add name="TMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="PrimaryConnection" applicationName="/xapp" passwordFormat="Hashed" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="8" minRequiredNonalphanumericCharacters="0" passwordStrengthRegularExpression="" maxInvalidPasswordAttempts="5" passwordAttemptWindow="20" requiresUniqueEmail="true" />
</providers>
</membership>


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>