Security :: Accessing Controls Of A Webform From Another In The Same Application?

Feb 5, 2011

i am building a web application and i want to access a textbox which is on the index page from the login page. basically what i did is this. i programmatically created my registration form for new users and also login for registered users, now i want to display on the index page the name of the logged on user on the index as the page loads.

View 3 Replies


Similar Messages:

Security :: How To Use Profile Provider In WebForm Application

Dec 2, 2010

i want to use profile provider in webformapplication

i hear that profile provider can only be used by website

is there some way to use it also in webform application?

i try to useProfileCommon method but i got an error

View 2 Replies

Security :: Restrict Accessing Web Application In Public PC?

Mar 10, 2010

I have developed An Inventory Management System in ASP.Net . The application is hosted now ... From manager to data entry operator every1 z having seperate login , roles and limitation to access website ... From Our office every1 is accessing the application and working on it. My question is even they can access the apllication from public PC (Browseing Center) ?? coz they knew the password. Am i rite. Now, I need to restrict my application access in public PC (Browseing Center)? Can i limit accessing of my website application only in office not in public PC (Browseing Center)? can i allow certain IP to access my website application?

View 11 Replies

Security :: Accessing Webservice From Application With Windows Authentication?

Feb 10, 2011

I'm having trouble with accessing my webservice.

I've got a webapplication and inside this webapplication I have a webservice. An external program is going to use this webservice in the future, but for now that is not the problem. this webservice is also called from inside the webapplication. this is where the problem starts.

I keep getting this error:

The remote server returned an error: (401) Unauthorized.

I tried with imporsonate= true, but it didn't work

[Code]....

the webservice is called like this:

[Code]....

I hope some one can point me into the right direction.

I'm using iis 7.5asp.net 3.5

View 1 Replies

Security :: Accessing .NET WCF Authentication Service In Winforms Application?

Jul 30, 2010

I'm trying to use ASP.NET WCF Authentication Service from a Winforms Application.

I am referring to this article as a tutorial.

for silverlight clients, the WCF Auth service works well.

but for Winforms Apps,

[Code]....the AuthenticationServiceClient.IsLoggedIn() always returns false even after login.

what is the cause of this and is there another approach I should take when I leverage ASP.NET authentication from Winforms?

View 1 Replies

Security :: Accessing Reporting Application From External Network?

Dec 7, 2010

We have an issue with an internal application, where accessing it from LAN (private n/w) works fine, while access from external n/w throws up erratic behavior.

The Current System :

an aspx page (asp version 1.0) hosted on the IIS server (6.1). The front end is a vb form that connects to a sql 2000 database.

Users' credentials authorized using NTLM security.

Access from an external n/w - a reverse proxy configured with an ISA server 2006 to authenticate credentials.

Domain Controller - Windows Server 2008 R2 x64

The issue when accessed from external n/w :

everytime an entry from a drop-down is selected from an Ajax enabled control, instead of the fields populating, the page gets refreshed and the content of the box are cleared.

Also, clicking on other items that normally hyperlink to other pages, results in nothing happening.

Upon investigation, we realized that :

Everytime it fails, a string - "&AuthResend" followed by an alpha numeric string is attached, which attempts to authenticate the user's credentials everytime a request is made to the server.

ISA error logs yielded the following error msg :

"12210 Internet Server API ( ISAPI ) has finished handling the request. Contact your system administrator. "

This behavior is inconsistent except when accessed from Google Chrome, where it fails each time.

We have applied all the recommended hot fixes from Microsoft's KB pages.

View 1 Replies

Security :: Authentication Fails While Accessing The Application From Remote Server?

Mar 21, 2011

While running an app from the server where it is deployed the website works fine, however when trying to access it from a different machine(placed in same network), using the same credentials, it shows that I am not an authenticated user.

[code]....

View 13 Replies

C# - Accessing Server Control From Other Webform?

Dec 29, 2010

I have 2 webforms with 1 ListBox Control on each of them.

How do I access the Listbox that's located on webformA from webformB?

For example I wish to declare something like this string name = ListBoxWebformA.SelectedValue.ToString(); on WebFormB, so that I can work with that value in the code of WebFormB.

The ListBox on WebFormA lists several names. When I select a name from the listbox and press the OK button I call Response.Redirect("~/WebFormB.aspx");

So from WebFormB I wish to access this "name" by putting the selected value into a string.

View 2 Replies

Accessing Server Control With Javascript On A Webform With A Master Page?

Nov 28, 2010

I have a webform which uses a masterpage which in turn inherits from another masterpage.I have a dropdownlist drpCursosIn my javascript code I tried to access the control but with no luck:var combo = document.forms[0]['drpCursos'];combo is nullAfter checking the source code, I changed it to:var combo = document.forms[0]['ctl00_ContentPlaceHolder1_drpCursos'];EDIT: My javascript code is in an external file

View 2 Replies

Get Started With URL Routing In Webform Application?

Feb 19, 2010

Thus far working with asp.net webforms was very easy .... But never implemented URL Routing in webforms... I know asp.net MVC Handles URL Routing pretty well... How to get started with URL Routing in an asp.net webform application? For EX: [URL] i want it to be like [URL] Any good article to start with URL Routing asp.net 3.5

View 1 Replies

.NET Webform Cookie Security?

Apr 4, 2011

If client use cookie auto login for 30 days.hacker could login and change user information when get the client cookies. How to prevent this?

View 3 Replies

Web Forms :: Use The Application Parameters In Header Of A Webform?

Jul 13, 2010

i would like to know how to use in the header of a webform an application parameters.Indeed, I have a virtual repertory in my application, and my webform make a reference to this repertory :

[Code]....

I would like to replace the path by an application parameter.hank to this, I will be able to just change one parameter rather than change each header of my webpages.

View 5 Replies

Session Object Not Work With Combined Mvc And Webform Application?

Jan 21, 2010

Environment used - Asp.net mvc 1.0 with c#

Problem -I have used simple mvc application. and also added webform into mvc application.and it is working fine. but when i used session object for sharing data between mvc and webapplication. it is not working. I have put Session["logon"] = "logon"; object into mvc controller and when i access this into webform then there is no value in session object.

View 2 Replies

AJAX :: Accessing A WCF Service Application From A Web Application?

Feb 10, 2010

I have a VS2K8 solution with a web app and a WCF Service App. In my web app I've added the service reference and can get to the service in the service app from code behind:

WebTest.ServiceReference1.Service1Client prox = new
WebTest.ServiceReference1.Service1Client("WSHttpBinding_IService1");
fromStandAlone.InnerHtml = prox.GetData(9);
prox.Close();

how to add an AJAX Enabled WCF service to the service app and how to access it from the web app?

View 4 Replies

Security :: Restricting Access To An ASPX Webform?

Dec 11, 2010

I have seen an existing post which explains how you can restrict access to an ASPX page using:

[Code]....

This works as in it keeps those who are not a member of Administrators AD Group from being able to view the webform but for some reason when I implement the above it locks even the Administrator user out which is not what I wanted at all.My web.config is as:

[Code]....

As you can see I have tried to restict it also through the web.config file but neither approach has worked.

View 3 Replies

System.Security.Permissions.SecurityPermission Winform In Webform?

Nov 22, 2010

It's a ?/$%/$%"!$ mess ... My webpage contains a winform user control. That user control send text to LPT1.It acts like an ActiveX. I set my website (on localmachine) as a trust one in IE and set all properties for ActiveX under security tab. The user control is showed under IE but I got a System.Security.Permissions.SecurityPermission when execute it.When I sign my control, IE can't display it ! I registered the dll in the .Net Framework Configuration tool

View 3 Replies

Web Forms :: Creating A Webform That Will Require Online Application And Sending / Uploading Of Resume?

Mar 9, 2010

I will be creating a webform that will require online application and sending/uploading of resume that will later be forwarded to an e-mail address (the resume will be an email attachment). I badly need some tips on this! Really new at these things. I will be using VB to code the web form.

View 2 Replies

Using Webform User Control On Webform In MVC Project?

Feb 26, 2010

I am using a server control on a single web.forms page. I have to use this control on a web.forms page since its a server control, although this is actually a MVC project. So I created a web.forms folder and put my new page in it. I then copy the example code from the signature control. I get the following error:

The base class includes the field 'ctrlSign', but its type (WebSignatureCapture.SignatureControl) is not compatible with the type of control (ASP.signaturecapture_signaturecontrol_ctlsignature_ascx).

I know the code works because if I removed the ID attribute from the server control, it no longer gives me this error and my control renders. But I need the attribute for the ID so I can perform is post event

I am using this signature control. Here's the web.forms code...

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="KahunaCentralTIDRevamp.SignatureCapture.Index" %> [code]....

View 2 Replies

Web Application Redirects When Accessing CSS File?

Oct 15, 2010

I've created web site in c:website folder using visual studio 2010. Then, I've created web site in IIS 7.5 that maps to that folder. However when I access Default.aspx page and request to css is issued like

http://localhost/webapp/Styles/Site.css

it's redirected to something like this:

http://localhost/website/Account/Login.aspx?ReturnUrl=%2fwebsite%2fStyles%2fSite.css

View 1 Replies

Configuration :: Is It Possible To Accessing Web Application Remotely

Sep 27, 2010

I have to Pc, A is Server and B is client ,On server machine windows server2003 And iis is installed.i have developed asp.net application on server machine and its is executing perfectly on server like [URL]

but this page is not accessing on client Pc (B)

how can i access this page or Application on pc B(client).

View 2 Replies

WCF / ASMX :: Accessing Another Application With Web Service

Aug 3, 2010

I m retrieving a pdf file from another application using Web service. After retrieving that file, make some validations and after that I want to delete that file. I want to delete that file in another application database. how can I delete that file ? I m unable to code that one. Can anyone give some startup.

View 6 Replies

How To Send Parameter From One Webform To Another Webform

Oct 19, 2010

in webform 1, i have search button when i click its open webform2 and there the gridview.

I want when i click the link in gridview in webform 2 then it close webform 2 and change the datasource parameter in webform 1 without open the new window (still same window)

View 2 Replies

C# - Send Visitors From One Webform To Other Webform?

Mar 21, 2011

What is right way to send visitors from one webform to other. What are their limitations and their plus points.

View 2 Replies

Vb.net - Accessing A Windows Application From An ASPX Page?

Aug 2, 2010

I have an aspx page and I want to access an application on the client after seeking user permission. Both the windows application and the website are to be made in VB.NET.

EDIT: Here is the problem. From my .aspx webpage in vb.net, a visitor clicks on a link on my site, and if my winform is not already loaded on their desktop, it is then loaded with the users permission. This application should auto-load on the user's site at boot up time and always be in the background running. Make it an extremely thin client, taking the least cpu and bandwidth from the user, and running as a silent background process until needed.

Whenever the user visits one of my many websites, IN ANY BROWSER, somehow - the app running in the background communicates with the .aspx on one of my sites, and exchanges a silent username password identifying client winform app to the online .aspx app on my website.

Then the .aspx on my site PASSES a url such as "www.somewebsite.com" to the app running in the background, the background app then does a http request from the client's computer, not from my .aspx server, so the client's cookies and ip are visible to "www.somewebsite.com" server. The client collects the html for that page, stores it as a string, and also saves the ascii of that webpage as another string.

Both strings then are PASSED BACK to my .aspx website that the client is visiting, and the .aspx app then stores these results in a database.

View 2 Replies

Way To Programmatically Prevent Certain Mac Address From Accessing Web Application?

Dec 15, 2010

i am using windows server 2003 and 2008 am about to install a web application on a server that is connected to other computers using simple wired network i.e. no active directory, no domain controller etc..

my question is:

is there a way to prevent mac addresses outside my specified list from accessing my application ? should it be through IIS or Web.config or should i put certain code in the page load events.another concern: if i use an SSL to secure my application, is it enough along with a reputable anti virus to prevent a virus to access my server through any network computer using my web application

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved