Smartphone Applicationn Security

  • Thread starter Thread starter Wes Ong via .NET 247
  • Start date Start date
W

Wes Ong via .NET 247

Hey guys I am trying to develop a smartphone application. It issupposed to receive some data from a server and then copy to itsstorage folders. However, I seem to be failing given the obviousreason that I keep on receiving the 10061 message at the serverside: "No connection could be made because the target machineactively refused it".

I was suspecting that the port from the smartphone was rejectingthe server's request. But I am not sure. Hence I wanted to usethe SocketPermission from the System.NET class to allow all databy recognising the server's IP address. However, it seems thatSocketPermission is not available for compactframework.

So what should I do? Is there any alternative. I have read onMSDN about SmartPhone Application Security. Is this valid in thecontext here?

http://msdn.microsoft.com/library/d...n-us/dnsmtphn2k3/html/smartphone_security.asp

Would really appreciate it if someone could help out. I am at mywits' end as I have been trying to debug this problem for closeto a week now.

Thank you in advance guys!!!
 
Application security would not prevent you from receiving the data if you
succeed in getting outside.
How are you receiving these data? Could you provide a brief description of
how are you establishing the connection (with code snippets)?

--
Alex Feinman
---
Visit http://www.opennetcf.org
Hey guys I am trying to develop a smartphone application. It is supposed to
receive some data from a server and then copy to its storage folders.
However, I seem to be failing given the obvious reason that I keep on
receiving the 10061 message at the server side: "No connection could be made
because the target machine actively refused it".

I was suspecting that the port from the smartphone was rejecting the
server's request. But I am not sure. Hence I wanted to use the
SocketPermission from the System.NET class to allow all data by recognising
the server's IP address. However, it seems that SocketPermission is not
available for compactframework.

So what should I do? Is there any alternative. I have read on MSDN about
SmartPhone Application Security. Is this valid in the context here?

http://msdn.microsoft.com/library/d...n-us/dnsmtphn2k3/html/smartphone_security.asp

Would really appreciate it if someone could help out. I am at my wits' end
as I have been trying to debug this problem for close to a week now.

Thank you in advance guys!!!
 
Back
Top