473,320 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

using a single sql membership for 2 web applications

I have 2 web applications that need membership added to them. 1 is an admin
module for the admin to control the website and the other one is contracts
module where customers/clients can login and manage their contracts. I want
to use 1 centeralized membership provider and database for the usernames and
passwords but don't want clients/customers to have access to the admin
module. How would I do something like this?
Jun 27 '08 #1
3 1105
Create it in one site and then copy the ConnectionStrings and Membership
(possible Roles and Personalization) sections to the web.config in the other
application. You should also consider generating your own machine keys and
use the same settings in both applications (there are sites you can google
that will gen random keys for you).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

********************************************
| Think outside the box! |
********************************************
"Andy B" <a_*****@sbcglobal.netwrote in message
news:e5****************@TK2MSFTNGP05.phx.gbl...
>I have 2 web applications that need membership added to them. 1 is an admin
module for the admin to control the website and the other one is contracts
module where customers/clients can login and manage their contracts. I want
to use 1 centeralized membership provider and database for the usernames
and passwords but don't want clients/customers to have access to the admin
module. How would I do something like this?
Jun 27 '08 #2
How would you do this? I don't know if I can use machine keys or not since I
am making the site on a different computer than the server.
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:ea**************@TK2MSFTNGP03.phx.gbl...
Create it in one site and then copy the ConnectionStrings and Membership
(possible Roles and Personalization) sections to the web.config in the
other application. You should also consider generating your own machine
keys and use the same settings in both applications (there are sites you
can google that will gen random keys for you).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

********************************************
| Think outside the box! |
********************************************
"Andy B" <a_*****@sbcglobal.netwrote in message
news:e5****************@TK2MSFTNGP05.phx.gbl...
>>I have 2 web applications that need membership added to them. 1 is an
admin module for the admin to control the website and the other one is
contracts module where customers/clients can login and manage their
contracts. I want to use 1 centeralized membership provider and database
for the usernames and passwords but don't want clients/customers to have
access to the admin module. How would I do something like this?

Jun 27 '08 #3

You need to look at the RolesProvider (kind of an "add on" to the
MembershipProvider).

I would then try to tie it into a sitemap.

http://www.google.com/search?source=...p+RoleProvider

That's a starter hint anyways.


"Andy B" <a_*****@sbcglobal.netwrote in message
news:e5****************@TK2MSFTNGP05.phx.gbl...
>I have 2 web applications that need membership added to them. 1 is an admin
module for the admin to control the website and the other one is contracts
module where customers/clients can login and manage their contracts. I want
to use 1 centeralized membership provider and database for the usernames
and passwords but don't want clients/customers to have access to the admin
module. How would I do something like this?

Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
1
by: Andy | last post by:
Hi, I was wondering if someone could advise on if the following is possible. I have one website that is available to the public using Forms authentication and the Membership class, it...
0
by: Anonieko | last post by:
A lot of times, web hostings for ASPNET 2.0 will offer only MS Access DB for database for basic plan, a question often asked is how can I use the membership services, role, web parts services, etc ...
3
by: jan82 | last post by:
Hi all I'm developing a website with Visual web developer in C#. Everything works fine when testing using ctrl+F5. Also, IIS runs ASP.NET pages without any problems. The problem I'm facing...
1
by: Mike | last post by:
Hi: I have been trying to create a web application that provides suport for two membership/profile databases: one for private users and one for another set of users. These tw user have a...
2
by: Vincent | last post by:
Hi, When the application doesn't use Roles, this configuration (web.config) works: <configuration> <connectionStrings> <clear/> <add name="myconn" connectionString="Data...
1
by: DotNetNewbie | last post by:
Hi, I have one application that is a CMS that uses .NET membership. Now on the same domain, I have to setup a ecommerce store. I want the URLS to look like: www.example.com <-- ecommerce...
1
by: Bogdan | last post by:
Hi, I'd like to take a full advantage of built-in membership services and use aspnetdb's UserId in my app's database. For example, I'd like to establish some relationships between membership...
2
by: Andy B | last post by:
I have a database with asp.net membership inside it. How would I use it for 2 or more web applications at the same time?
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.