Security :: Single Point Of Entry For 2 Web Applications?
Oct 29, 2010
I already have 2 web applications running. both of them are using membership and accessing the same database but their application names are different. so basically in my aspnet_Users table, i have users with different applicationIDs and in my aspnet_Applications table I have 2 records in there. so i have 2 separate login locations
..app1login.aspx
..app2login.aspx
What my the business wants is to only have a single point of entry. so they want something like this
..applogin.aspx
and by verifying the username and password pair, my code should be able to route to the appropriate app and bypass its login form. (don't be concerned about the duplicate username between applications, it's been taken cared of)
so I'd like to solicit suggestions from you how should I implement this without modifying my existing setup? and where should I place this login web form in my website? this is the current site structure:
www.site.com/app1
www.site.com/app2
View 6 Replies
Similar Messages:
Nov 10, 2010
I have three asp.net web applications
,Second and Third applications are accessed throught the first,So Authentication (form authentication) is happening from the first application only , all are deployed on same IIS with seperate virtual directory
Like
1.Localhost/EmpMananger
1. Localhost/Hr
2.Localhost/Payroll
, I used the same Entires in both <machineKey> and
<forms> Elements in webconfig file of all applications,
Applications are working fine and Page.User.Identity are available in all applications but once loginUrl and defaultUrl entry is changed to actual name other than localhost
Eg: localhost/EmpManager/default.aspx To myserver/EmpManger/default.aspx
the authentication ticket is not available in second and third applicaiton
View 4 Replies
Nov 24, 2010
Just created a blank "ASP.NET Web Application". Where's the entry point?
I see "Default.aspx" which seems to be the default template that calls. "Site.Master" which I guess acts as a layout file. "Global.asax" that seems to provide some method stubs for event handling. And then "Web.config" which seems to have some site-specific settings such as a DB connection string, and some authentication stuff.
But no where do I see any "routes" or anything to indicate that "Default.aspx" should be called by default, or "Global.asax" should be used to handle events. Where's this stuff specified? Is it baked into the core of ASP? Can't I filter all the requests through one C# method and then delegate how I please? And return some sort of Http response?
View 4 Replies
Sep 20, 2010
<NEWBIE to configuration> I attempted to update a .dll from a 1.1 project to a bin directory and received the following error
Dllname was loaded, but eh DllRegisterServer or DllUnregisterServer entry point was not found.
Dllname may not be exported, or a corrupted version of Dllname may be in memory. Consider using Pview to detect the file and remove it.
I do not have the option of using Pview. I have attempted stopping iis then try remove and restarting server. What other options do I have to delete the dll, or reregister the new dll??
View 1 Replies
Aug 7, 2010
I am using SSRS 2005 and Windows Server 2003, when i try to access my SSRS report from Direct url i.e from browser it is shown but if i try to access it from asp.net page through report viewer it displays "Entry point was not found." Error Message.
some days before it was working properly.
I have also reinstall OS and SSRS.
Please tell me the solution if any body faced the same issue or somebody knows the problem.
View 1 Replies
Nov 4, 2010
I am using VS 2005.When i was opening my VS 2005 and i tried to open web appication view designer.But it is not working and it is showing a warning message "Entry point was not found".
View 2 Replies
Nov 4, 2010
I cant open my web application design viewer . When i trying to click design tab it is showing warning message "Entry point was not found."
In my project i have used ajax 1.0 , vs 2005(C#)..
Application running without any errors.. But i cant see the design view in my pages ..
View 1 Replies
Jun 1, 2010
Im trying to install VS 2008 on Server 2008 R2. As I try to run the Setup.exe file I get this Error:
The procedure entry Point BaseGetProcessDllPath could not be located in the Dynamic Link library KERNELBASE.dll
View 1 Replies
Feb 14, 2011
I am using a web method to submit my form data , having Oracle DataBase. And in my local development machine every thing is fine.I am successfully able to submit my form data asynchronously through a web method. But the same project when deployed to test server then while submiting form date there an error occurs as stated above. One field in the table is of DataTime type, and i am inserting server's date into that field, all other fields are of type varchar2 or int. I googled about that but it seems that no one has got such error.
View 16 Replies
Feb 17, 2011
We are having a project which is for various online application systems for an educational institute. (Asp.Net 2.0 Web Site)
initially we developed all applications in single project with proper folder structure. but now we want to make each application as separate product.
all applications share single authentication(Obviusly this is single project) want to keep that way only.
I want to split project in smaller projects but want to keep shared authentication so how should i orgnise this project in IDE.
Also i need guidence on hosting such project
i should make small projects within single solution file. and at the time of publish amke single virtual directory to host the root project(login.aspx etc) and in subdirectories i should host other projects. so this way SSO(single sign on) across applications is possible ..
View 2 Replies
Aug 30, 2010
to host two web applications in single application domain? For example two web applications web1 and web2 being hosted in single application domain.
View 3 Replies
Jan 14, 2011
I maintain a local government website and we have 3 developers and each one develops various web applications. Each web application has it's own directory structure under a folder called "Apps". There may also be another level of folders under the Apps folder. My trial approach at the moment is to have a folder called "Apps/Common/Master" which contain the MyMaster.master page. I have another folder called "Apps/Test/MasterTest" which I have setup a project to use the Master file in the Apps/Common/Master folder. I looked at some information about sharing Master Pages in the MSDN documentation and it mentioned creating a virtual directory and I tried creating a virtual directory "Apps/Test/Master" which points to "Apps/Common/Master" but from Visual Studio it doesn't show up and so when I try to reference the Master Page it can't find it.
My goal is to have a single Master page that we all use that we maintain in a single place and any changes to the single Master Page will be reflected in all of the applications that reference that master page. I don't want to copy the Master page to each project because then modifying the original master page won't update the copies.
View 4 Replies
Apr 22, 2010
i have two applications hosted on two different domains and both use a single login info so my question is how can i use / share same session across two application.
View 8 Replies
Mar 7, 2011
We're using ASP.NET and IIS 6.0. I realise that the definitions of applications, websites and virtual directories are ill-defined in IIS 6, and changed a lot in IIS 7. However, I'm stuck with IIS 6.0 for now.
We have a single web site defined in IIS, and a number of separate sub-sites in Virtual Directories.
The scheme looks like this:-
[URL]
[URL]
site1, site2, ... are virtual directories in IIS 6.0, under the "Default Web Site".
I need to use ASP.NET sessions and forms authentication in most of these sites, and I don't want them to share authentication data or session information at all.
Both the mechanisms currently depend on cookies. However, the cookies created by default use the same name, and have a path of "/" in the browser, meaning the sites' cookies will clash with each other.
Without changing the default name for each cookie, how can I enforce separation between my sub-sites? Do I need to change the virtual directories for IIS 6 "Applications"? Or is there some way in code to enforce a more limited scope for the cookies?
View 1 Replies
Oct 15, 2010
I have 2 tables:
- Salesmen with Pk.SalesmenID
- Appointments with Fk.SalesmenID and busy(bit)
How can I check if every salesmen has at least one appointment
Am I on the right way with statement below, though I got syntax problems
[Code]....
View 5 Replies
Dec 13, 2010
Not point to the break point.it gives above error massege when start debbuging. How i fix this.
View 1 Replies
Dec 12, 2010
I'm trying to access a user's userId in the login forms user logged in event, but I keep getting an error.
If I attach the code to a button which is clicked when a user is already logged in, I get no problems, it's only when I try to execute it within the user logged in event that I get the problem.
Below is my code with the part that causes the error commented out:
[Code]....
I'm guessing that I'm trying to access the userid before it is available, i.e. before they're logged in, but the event as I understand it is fired immediately AFTER they've logged in.
In which case, when is the earliest point that I can access a logged in user's userId (I'd like to tie this in to the point at which they login)
View 10 Replies
Mar 22, 2010
I'm working on logging for all the updates in my web application. I.e, When some one is logged into application or some one changed any thing application, I'm logging everything in log table. But, I just want to know whether I can create log entry when I click on Logoff and I'm using Login Membership control.
View 3 Replies
May 12, 2010
I am wanting to from now on create a backdoor entry for every web application I build so that if need be I can shut it down.I had a nasty recent experience of a client not paying the bill, however the application was on his server, so when I used my backdoor access to alter a hidden record in one of my database tables to stop it from running, they had full control of the server and were able to look through ther SQL log and see what queries had been run at that time and then alter the record and prevent access to the table...
The only way I can think of that will be full-proof no matter where application is (providing there is web access), is to have ONE webservice running on my server with all apps listed, with a secure interface and the ability for me to turn off any application. Then every day, once a day, each of my client's applications (no matter which server they are on) communicates with this web service to see if it is allowed to run by referencing a GUID. This once a day check would be compiled into the main app DLL.
View 4 Replies
Jan 9, 2010
Is there a way that I can share membership (login, etc.) between two different web applications? I would like to create a smaller debug application to test some stuff in my database.
View 2 Replies
Feb 11, 2011
I recall some way to use a single instance of the the asp.net membership for multiple applications. For example...if I have a main single sign on portal, perhaps I'd like them to have access to Application A, B and F, but not C, D & E. Instead of maintaining different security for each application, can we have a single membership table maintaining all of the enterprise applications? So user 'John Doe' would have a single membership record, but have access to different applications.
View 3 Replies
Jan 27, 2011
I'm looking into building a web application platform which users will log into and be able to access other applications based on permissions. I've set up the membership provider and it is being shared between apps. Here is my problem: If I log into application A, and click on a link that takes me to application B, I have to log in again. Is there any way to share that session between applications so the user can log in once, and not have to do it every time they access a different application?
View 6 Replies
Apr 26, 2010
we have about 4 web applications in our company with seprated login pages, is it available to have a unique login page and after login let user choose what application he/she needs ?
View 4 Replies
Nov 6, 2010
I have a bunch of applications that currently share the authentication cookie in v3.5.
We're in the process of upgrading to 4.0 and also upgrading the applications as a whole. I have 1 done, and would love to deploy it. However, as soon as I do, I lose my sharing of authentication cookie in that application.
In each web.config, my machine key is declared. I removed the actual keys to protect the innocent. :)
<machineKey validationKey="..." decryptionKey="..." validation="SHA1"/>
<authentication mode="Forms">
<!-- DEV Server -->
<forms enableCrossAppRedirects="true" loginUrl="Logon.aspx" name=".COOKIENAMEHERE" protection="All" path="/" slidingExpiration="true" timeout="1440"/>
</authentication>
View 1 Replies
Feb 19, 2010
I have a case where i have two asp.net applications, one is hosted on example.com/App1 and the other on /App2.
both applications are password protected using Windows authentication.
App1/default.aspx has a <img src="/App2/somefile.aspx">
Now what happens when i open App1 is that i get the credentials prompt, but because App2 is also protected, the HTTP GET for the img requires me to authenticate, in other words i get two prompts.
Is it possible to do something so that the authentication is for example.com so that both App1 and App2 consider the user authenticated?
View 4 Replies