Security :: How To Call An Exe Application
Aug 13, 2010Is it possible to call an '.EXE' application which is on Server Machine from Any Client Machine?
View 4 RepliesIs it possible to call an '.EXE' application which is on Server Machine from Any Client Machine?
View 4 RepliesWe have a web application that makes a call to a remotely hosted ASMX service that worked in Server 2003 under IIS6. We are now migrating it to a Server 2008/IIS 7 setup and it doesn't appear that the application makes the call to the remote web service anymore. We ran Wireshark and don't see any traffic to the service URL. It seems to throw a 404 error without trying to connect.
Is there some security policy or restriction in Server 2008 or IIS 7 we need to set to allow an ASP.NET application make a call to a remote web service? We are using Network Service as our application pool user, but also tried using Local System as a troubleshooting step. In addition, the same code works if run from a console application on the server instead of the web application.
Is there some setting under IIS7 or server 2008 that would be causing this?
I'm having a simple ASP.NET application hosted on my local IIS6, under Vista.It contains a button that when I click I execute a piece of code for recognizing the text in a WAV file (using the System.Speach.Recognition.SpeechRecognition class) and display the text in a label.
The code works great on a desktop application, and it almost works on the web one... I say almost, because if I debug, I can see that the recognizer returns the correct text from the WAV, I can see that I am finishing the handler for the button click with no error, but nothing gets displayed in my page, and the page appears like loading... it's hanging, or something... No errors, no timeout, nothing. Just loading...
I don't know if this detail helps, but in order to make the piece of code that was already working on the desktop application work on the web application, I had to set the identity of the ApplicationPool of my application to LocalSystem (security breach, I know). Otherwise, I would have received a Access Denied error (0x80070005(E_ACCESSDENIED)).
I have two .NET applications X and Y
a. I want to have User A as a common user for both application X and Y.
b. User A can have different roles on X and Y. Eg. Read permission on Y and Write Permission on Y.
How do i configure ASP.NET membership to achieve about functionality.
I have created an WCF data service in a new asp.net web application and i want to call this web service from another web application using jquery, but it always returns null.
My jquery call looks like this:
[code]....
Note that [URL] works in the browser but since the jquery call is from localhost:3410 i assume its a problem with cross domain.
I have been reading that i should use jsonp for this, but i have a hard time figuring it out.
I have a web page, in which i need to translate arabic words into english words.. need to provide google translator.
View 2 RepliesI'm trying to pass information set in a celphone applications Form and pass it to an ASP.Net web page.
The idea is that the parameters will be passed through GET and my app will save it to a database.
How can I achieve this if hypothetically my asp.net site is: www.mysite.com/save.aspx
Here's what I have so far:
public void GuardarInfraccion(){
Infraccion infraccion = new Infraccion();
infraccion.IDPolicia = txtUsuario.getString();
infraccion.PlacaAuto = txtPlaca.getString();
infraccion.Nombre = txtNombre.getString();
infraccion.Carnet = txtCarnet.getString();
infraccion.Fecha = txtFecha.getString();
infraccion.TipoInfraccion = String.valueOf(tipoInfraccion.getSelectedIndex());
}
I have a web page, in which i need to translate arabic words into english words..
I need to provide google translator.
I'm having trouble executing this line of code in my MVC application:
IntPtr hModule = LoadLibrary(BondProbeSettings.AssemblyFilePath);
The problem is that hModule is always 0.
If I run the same code with the same value for BondProbeSettings.AssemblyFilePath but from a console application instead of the MVC app hModule is non-zero.
Are there any security issues I need to consider?
The signature for LoadLibrary is:
[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
static extern IntPtr LoadLibrary(string lpFileName);
We are using membership provider for LDAP authentication. It is working as it should.
But what all configuration settings I have to do so that
all the future requests to this application run under the security context of the Logged in user account not through the some default user set in IIS.
We need to have this working because all the permissions on the database are based on the logged in user.
We are using form authentication for LDAP authentication. And having impersonation = true in web.config.
Error:Â
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.Local its run fine. when i place in iis. it throw this exception.
My website security is configured with "Windows Integrated Security" only (anonymous is disabled).
I also want to set a specific account to run the w3wp.exe process using the
Application Pool Identity to a domain account.
Running directly from the server works without any problem but from remote computers I always get the authenticaion window then the 401.1 error (after 3 attempts).
It seems that its the combination of "Windows Integrated Security" along with the "Application Pool Identity" that causes the problem. When I disable one of the two it works properly.
My server is Windows Server 2003 R2, running IIS 6.0.
i developed an asp.net(2.0) applicaions which contains the attachments of the clients . these attachments are saved in the shared folder and retrive the file when the user requests.if i maintain the application and the shared folders in the same system it will work properly.if i maintain the application in one server and the file folder in the other server i face a lot of security issus like1.Access Denied2.Couldnot find the part of the path......for this i made an common account for the application server and the file server and also set impersonation to true.Even the i got the couldnot find the part of the path error.i already gave the everyone with full control to the shared folder and i added the common account and gave it to full controlIs there is any alternate for the save and retrive the files to and from the shared folder.
View 3 RepliesWe have two application created one for webservice and other application will call the methoddefined in webservice .The problem is we want to add webservice in our application dynamically
View 4 RepliesI need to create an application (ASP.NET or WinForms or Windows Service, not sure) that needs to make a call to a url including username and password for basic authentication and have the url return a csv file. I then need to use the csv file in the application. I don't know how to do this. How do I call the url in my app. There can be no user interaction, it needs to be completely automated in the returning of the csv file.
View 2 RepliesI have a asp.net web page.Inside i am calling 2 stored procedures.. which causes huge performance hit on the page
I need to call the both the procedures simultaniously using threading
Both procedures return data which will displayed on the page
I have a small application which contain only a text box which is continiously reading the incoming data from serial port and displaying in the text box, i want to use this application on a webpage. how can i call this windows application on a webpage.
View 5 RepliesI am writing stored procedure in Sql server 2008. But in that for first line its giving error but not for the second line its saying that invalid object.
1) SELECT * FROM DEPENDENCY
2) TRUNCATE TABLE DEPE NDENCY
I have sql server database in which I have lot of contact person and their telephone numbers. these contact numbers is viewed by user on asp.net form in gridview control, its working fine. User filter the numbers dial the numbers to client through telephone set.
Now I am thinking to merge the call dial and receive funcationality through asp.net form like user have asp.net form have some telephone dial up control, search the number and dial the call on button click event. To talk with client user has headphone.
Here is 2 web applications: 1 is asp.net, another is J2EE base webapplication.Both them are using same AD ( e.g. DomainTest ) as authentication source.Question here:1. User log in the asp.net application ( form based log in DomainTest, not IE prompt authencation dialog ), on the left navigation ( link to J2EE web application), just click this link, SSO to J2EE application.I think should transfer identity token from asp.net to J2EE, but don't know how, and for JSP, how to modify it to use token tranferd from asp.net ?
View 3 RepliesI am trying to use ProfileCommon inside a DLL. this DLL is being called by ASP.NET web application.
I am getting this:
Error 15 The type or namespace name 'ProfileCommon' could not be found (are you missing a using directive or an assembly
[Code]....
How do I call the "decrypt" and "Encrypt"? I want to display the result in TextBox1.text
I have written a sample web service, which consist of certain .aspx pages. I have written a code to consume webmethods from that web service. Now, is it possible to load the aspx page which is a part of the web service from the calling web application i.e. from another aspx page which is outside the web service.
How this scenario is;
I have one web application running with a page say Page1.aspx in browser. 2. I have created a web service which is having an aspx page say Page2.aspx. 3. There is a button on Page1.aspx. 4. Now, when client click on the button, is it possible to load Page2.aspx, which is not a part of web application, but the web service.
[code]...
What I am trying to do is, get response obtained in Gen.aspx and pass it to default.aspx page.
i am trying to call an SSRS report (in VS 2005) from my asp.net (web application) implemented in VS 2008 (don't ask me why, i am kind of confused by this weird arrangement too). report has been deployed to report server and it contains a multi-value parameter.when i call report from asp.net app, i set the value for this multi-value parameter as a string and all selected values are separated by comma. i.e. i have 5 options (a, b, c, d, e), and i selected first two, the string is then "a,b".
the multi-value parameter on the report side is defined as: Multi-value selected, Allow blank selected, Avaliable values are from query (a dataset that contains a, b, c, d, e) Value field and Label field are both mapped to dataset filed (there is only one field in the dataset). the default values are from query too (same dataset). value field is mapped also.
i have two problems:
1: it looks to me that all available values are selected on the report side, regardless what i really selected and passed over (when i turn on paramters).
2: when i turn off parameters, i need to display what values being selected as a string, the join statement, join(Parameters!TeamLead.Value), gives a list of all available values for the multi-value parameter, however, i only need selected values. how should i write this expression (for a textbox) to join only selected items in the multi-value parameter(i don't see any option in the intellisense dropdown box)?
I'm trying to call a linked server, SS2000 that has NText field and instert that data into an nvarchar(120) field on SS2008.
If I execute the SPROC from SS2008 Management Studio, it works fine. If I try to call the SPROC from my ASP.NET 3.5 web application, I don't get any errors, but the data doesn't get updated.
I'm using the following SPROC:
CREATE PROCEDURE [dbo].[usp_UpdateMilestoneDescription]
@UID int
AS
BEGIN
[Code]....