Security :: Multiple Database On Same Portal?
Oct 20, 2010
I am working on a project where on the same portal people from different location will login, so they get connected to different database depending on the location they choose at the time of login. There will be a dropdown list during login, where user can choose the locationI use ASP.NET Login control, security/membership class.So what is the best way to implement this, should i save different connection string in web.config and based on location choosen by user read them? I would also have to change LocalSqlServer connection string for login control, how do i do this dynamicaly?
View 3 Replies
Similar Messages:
Jan 17, 2011
I'm working on a SharePoint portal site, while user should be redirected to it from SAP Portal, both of the two portal, user is going to be authenticated through Active Directory.So is there a way to have a single sign on for both of them, so user login to SAP portal and then be redirected to sharepoint portal without providing his login credentials again?
View 1 Replies
Dec 25, 2010
At work, we've developed a custom ASP.NET Web Portal (That's very similar to iGoogle). We have "Apps" (self-contained, large web forms) and "Modules" (similar to Google Gadgets).Currently, we use a single-solution model. Right now, we have:
3 core projects
60 application projects
80 module projects
To reduce copy and pasting between projects, we're going to factor out common functionality (Data Access, Business Logic) into separate projects. I'd also like to introduce Unit Tests, which is going to increase the number of projects even more.We've already reached the point where Visual Studio is choking on the number of projects. We generally only load the 3 core projects and then whatever app's/module's project we're working on.Would a different solution structure help us out? Our number of projects is only going to increase.
In general, an app or module only references the 3 core projects. Soon, apps/modules may start referencing the Data Access/Business Logic projects. But in general, apps and modules do not make references between themselves.So to recap, what is the best practice for solution structure when there are MANY projects that use a small number of core projects?
View 1 Replies
Dec 13, 2010
I have planned to create the job portal based on Industry like IT ,Pharma,banking,Airlines,Sales.
Option 1:
I have decided to create the seperate DB for each Industry but maintain the user account details in common DB
For example , Main DB is jobportal contains all useraccount details and common tables like country ,state ,city,designation in common Db
other 5 DB are IT ,Pharma,banking,Airlines,Sales .
Connect Main DB with all other DB..
option 2 :
Maintain all tables in Single DB only.But problem is job posting details different from industry to industry .so we cannot maintain common table for all industries..not only jobposting ..some other tables all same type of problem ..
option 3 :
Maintain Completly seperate DB for each Industries.. No relation between all DB..
Which one Best? Or any other option to do that other than these three ?
View 2 Replies
Jan 19, 2011
We have an SAP portal, which is not user friendly from clients point of view, we as ASP.NET developers suggest to use ASP.NET as a presentation layer for SAP backend system instead of SAP portal.We already integrated successfully to SAP backend for data insert and retrieval.So, we need to show ASP.NET power to SAP Team! How an ASP.NET portal will be much better than SAP portal.We though of AJAX functionality, look & feel of UI, and application mobility (cross browser).
So, what are the pros and cons of an ASP.NET portal compared to SAP portal? What are the issues SAP portal has, ASP.NET doesn't?Briefly, how to convince decision makers of ASP.NET over SAP from UI/Performance points of view?
View 3 Replies
Feb 19, 2010
I am facing a very unique situation and need help. My problem is as follows:1. I have a basic ASP.NET website (3.5 is it helps on IIS 7) where I have implemented Membership for Authentication.2. The site caters to multiple companies (Say Company A, Company B etc.).3. For each company I need to have different database (SQL 2008). This is mandatory as i can use multiple Application in there.Now as far as the flow is concern its pretty simple:1. The user comes to this site with a QueryString like cid=123 (in actual there is a HttpModule for this, cid=123 is just for this forum purpose).2. The site using the cid=123 gets to know this user is for Company A (i have a WCF service for this, how it works is not a problem.), along with that I also get the connectionstring for the database this user should use.3. For Business implementation i have handled this nicely in my DAL Layer.4. The problem comes with Membership.5. In Membership I have writtent a custom provider, that assigns the connection on teh fly.6. But this happens only once for the application. i.e. the connectio string gets cached at application level.7. The connection string does not change untill I reset my IISwhere i can have a single WebSite, catering to different companies, using seperated databases and using Membership for Authorization.
public class CustomMembershipProvider : SqlMembershipProvider
{
public override void Initialize(string name, System.Collections.Specialized.NameValueCollection config)
[code]...
View 1 Replies
Feb 9, 2010
I currently have a website up and running and working correctly with godaddy.com using the out-of-the box authentication with an aspnetdb sqlserver database. I have users on this site and am very hesitant to change anything with this database or the web.config file from the working site for fear of wrecking it
So, my challenge is that I need to authenticate a separate application using the same aspnetdb.mdf file without any crossover to my 1st application. I've noticed that the ApplicationName that is currently in my aspnetdb database for the working application is just "/". I know that I'll need to have 2 separate entries in the aspnet_Applications table to define these two applications and then somehow register those names within their respective web.config files - but wanted to have step by step instructions on how to this so as to not "break" the 1st working application that is already live.
Can anyone point me to a document on what changes I will need to make?
Also, with the default create user wizards I'm using, how will it know to create the new user information with the correct application ID so that the user information from one application is not visible to managers of the second application and vice/versa?
View 7 Replies
Mar 23, 2011
I have more of the same applications.All tables are identical.Each application has a new user.These different applications are located in different domains such as.: domena1.com, domena2.com, domena3.com.Each domain has different users.
For each domain in the web.config change the "ApplicationName", eg.:
ApplicationName = domain1, ApplicationName = DOMAIN2, ApplicationName = domain3 ...
View 2 Replies
Jan 20, 2011
I'm planning to make a page that has about 10 different pages for varying use, for example, stats, data entry, reports, logistics, audit, sales, promo, etc etc. I'm anticipating there will be many combinations as to what pages a user may have access to, for each page, a user ought to be authorized to either enter new data, edit data, print and/or just view.
My questions are :
1. can membership & roles be used, once user is logged in, to display links to all the areas of the web app he is allowed access to?
[code]....
2. besides having access to a particular page, a user should, as mentioned before, be authorized to either enter new, edit, print and/or just view data.
3. Is there a preferred/better method to handle this besides using membership & roles?
View 3 Replies
Mar 25, 2010
my landline phone is connected to my computer. Now in my asp.net website there is a textbox and a button . i filled a telephone number in the textbox and on button click i want that a call get connected to the no. in the textbox through my landline phone.
Is there any workaround for this in .net framework?
View 1 Replies
Mar 29, 2010
I am interested to create portal on cassandra services, since I faced some performance and scale issues starting from 1 million of records.
Definitely, it could be solved, but I am interested on other options.
My main issues is cost of updating all necessary indexes, to make reading fast.
First, is cassandra is good way for asp.net programmers? I mean, maybe there is some other projects, which worth to take a look
And second, can you provide any documentation samples on how to start with cassandra programming from C#
View 6 Replies
May 3, 2010
I have a web page which I have created to allow users to upload excel file sheet and thus these sets of data will be inserted into the database. However, as I was testing out, I realized that if the excel file is too large (i.e. mulitple sheets, > 5 sheets) , the portal may not be able to handle the large amount of data and displayed error message like the connection is reset. I tried it with only less than 5 sheets it will be fine. Any idea if there are any codes or mechanism which could solve this problem?
View 6 Replies
Mar 31, 2010
I have a aspx page I'm trying to (remotely) debug. It should add an image and set the src. The value seems correct if i msgbox the value that should be used for the "ImageUrl"
But viewing the page there is no image and the src is:[URL] This is a mcaffee page so is this some security thing...that is just a wildcrazy guess. Maybe i'm missing something very obvious...I did not write the code and I'm not really a aspx developer.
[Code]....
View 2 Replies
Jul 25, 2010
I am working on a marketing module. This module will allow the admin to setup marketing plans; emails and sms sending to a list of receipients. The admin will select a specific date and time on which the marketing campaign will execute (i.e send emails and sms to a list of users).
Now the problem is that I have no idea of what I shall use to monitor the server time and how I can run a timer to check the date and check campaigns dates.
View 2 Replies
Jan 25, 2010
VWD 2008 Express. Visual Basic. SQL Server 2005. IIS 6.0.
I have created a page called Login.aspx on my web site. It contains the login control and authenticates logins with SQL tables. The page works. However, I want to configure my site so that no matter what page a user tries to access, they are taken to Login.aspx if they have not been authenticated. How can I configure my site so that users cannot access anything until they have been successfully authenticated through a login on Login.aspx?
View 4 Replies
May 25, 2010
I have an asp.net website for a car dealership. I wanted to create an admin site where personel from the dealership can add and delete cars to the site. how do I get started? what shall I read up on? I've read some of the security knowledge to add login and user accounts and what not, but now I am after setting up the website to allow this. do I need a sub domain to allow this? is that the only way? the web hosting company I am using (discountasp.net) will make me pay more $5 a month to use sub domain
View 4 Replies
Jul 27, 2010
I just want to know that how can I utilize the concept of Abstract class, virtual class etc. in my shopping cart website. I have read the tutorial out there on internet and I saw some examples too, but those examples are so general that they dosen't fit into real world scenerio like I am searching for a shopping website. Same questions again and again comes to my mind that why to made a class only to give the declaration of methods and property.
View 4 Replies
Aug 5, 2010
I tried to install portal starter kit (http://www.asp.net/downloads/archived-v11) , but I found error code (2869) in installing. Windows of my computer is VISTA.Error is like below:
Id_token is not a valid Windows NT name. Give the complete name: <domainusername>.
User or role "id_token" does not exit in this database.
Error code 2869.
View 1 Replies
Feb 1, 2011
I am using Visual Studio 2005/ asp.net 2.0.
I am planning to develop a knowledge base web portal.
any links/references for the same having good and simple design.
View 2 Replies
Feb 25, 2010
I want to do something like www.mysite.com/subsite, www.mysite.com/subsite2 etc
subsite/subsite2 are not actual directories. I did something like this previously using a custom 404 error page. I'm just wondering if there's a better way to do this now, especially in vs2010/.net 4.0 ? Or would using a custom 404 still be the best method?
View 1 Replies
Jan 8, 2010
I have an asp.net (VB 2008) portal site. This is the only public page, all other pages are individual for each user after login. The portal site (and all others of course) is multilanguage, depending on users browser settings. Could I enable caching on the portal site? I don't have a language parameter given in the URL explicit. Could I set up the cache to create different caches depending on the users language set in the browser?
View 1 Replies
Oct 19, 2010
How to implement AD(AD users) + FBA(external users, suppliers and job seekers) login option in SharePoint 2007 internet bilingual site. How to proceed with this?
View 1 Replies
Oct 11, 2010
For Adverstiment purpose I want to integrate my poral site which is developed by ASP.Net Platform in social networks like (facebook,twitter,Orkut).
View 1 Replies
Jul 26, 2010
I'm quite new to asp and have run into a bit of trouble with a website that I am creating. This website that I am creating is relatively similar to the website created in the tutorial athttp://www.asp.net/general/videos/how-do-i-create-a-full-featured-customer-login-portal. When I paste this code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
If Not Page.IsPostBack Then
Session("CustomerID") = Nothing
[code]...
View 3 Replies
Nov 7, 2010
i have a username and password in my portal... i want to connect to the active directory to verify the username and password of the user? using c# .net
View 1 Replies