How To Avoid Socket Security Erros
Hi,
I have to connect to a remote IP camera server from flash through socket connections.
It is working fine while testing in Flash IDE, but not working when I upload to my server.
I know it is due to security restrictions that you cannot access other domains.
Kindly suggest is there any other way to connect to the remote server to which u cannot add any cross domain files.
If it is proxy route, suggest some of them.
I have tried with RFC2417 socket posted here
http://blogs.adobe.com/cantrell/archives/2006/07/a_proxy-savvy_s.html
I got Bad request error when i use this class.
One of the friends in this forum suggested java proxy posted here
http://coderslike.us/2009/01/23/flash-socket-code-and-crossdomain-policy-serving/
How to connect flash and java ???
I am trying for a solution for the past 1 month!!!
Any help is hight appreciated.
Ur error might be related to "UNSUFFICIENT PERMISSION" at the Server side to create a File or for any other task....check it out
hope it helps,
Cheers,
Manja
Similar Messages
-
How to avoid the Security Constraint framework's user validating.
The problem is I have set up a security constraint in web.xml. If I link to that mapping tomcat will throw a window for user to input the username and password.
I expect that i could set a URL to redirect to this mapping which is constrainted by web.xml and jump over the step of input window.
I prefer the way like logon FTP, setting the URL like this: ftp://username:[email protected] (of course the way http://username:password@host:port/file was fail) or anyother ways to implement that.
thanks!!in your form tag specify method=post, that'll hide the values from being displayed in the url
eg:
<form action="someAction" method="post"> -
Hi ,
When I try to call :
Socket sok=new Socket (adres,poort);
the thread looks to stop...
How to avoid this ?
Thx for tip etc !Take a look at NIO:
http://www.google.com/search?num=100&hl=en&c2coff=1&q=non-blocking+java+socket -
How to avoid security note popup?
Hi,
I have two BSP Applications, which I start from SRM Enterprise Buyer via new window. I have created an internet service user, which I put in the ICF service of the application.
Here goes the question.
In one of my BSPs the new window appears like expected. In the otherone I get a popup message (I must translate this from German to English, but I hope you get the contents):
The popup says:
<i>Title: Security note
You are about to turn to an insecure connection. data which has been sent to the prior site, will possibly be sent to the insecure site. Do you wish to continue?</i>
Why is that? Both ICF entries use the same user and look the same - under security there is a radio at standard in both cases.
The URL of the BSP without Popup looks like this:
http://<host>:8028/sap/bc/bsp/sap/z_imp_all1/start.htm
the one with popup like this:
http://<host>:8028/sap(bD1kZSZjPTMwMQ==)/bc/bsp/sap/z_scan_pzn1/start.htm?sicht=pzn&username=MEYERM&HOOK_URL=https%3A%2F%2Fukmsapweb%2E<host>%2Ede%3A9211%2Fscripts%2Fwgate%2Fbbppu99354e5a01%2F%3F%7EOkCode%3DADDI%26%7Etarget%3D%5Ftop%26%7ECALLER%3DCTLG&OCI_VERSION=3%2E0&http_content_charset=iso%2D8859%2D1&returntarget=%5Ftop
Any ideas, how to avoid the popup, welcome.
regards, Matthias
Message was edited by: Matthias KasigHi Renald and Rainer,
to Renald: Yes, I have also checked Internet options -- advanced, and unchecked the warning, when switching from save to unsave mode. I also unchecked the warning, if formular data is being redirected. Still this takes no effect. And anyway, I can't see the point, because from the same https page I've got two links which link to http-BSPs. One brings about the unwanted popup - the otherone, with apparently same settings does the security popup. The link itself is launched via JavaScript, like this:
<a href="JavaScript:launchCTLG('PZN_Scan');" class="catalog" alt="PZN" title="PZN">PZN</a>
to Rainer: I checked the note you gave. It contained a chm file. It also refers to the situation, that you get the popup message, when leaving https and turning to http. It also provides a solution like this:
<iframe id="myIframe" src="JavaScript:void(0);"></iframe>
In fact I can't change/modify the call of the URL - and it is already being called via JavaScript. The EBP page is SRM generated.
I shall try to copy the BSP application, that works fine without popup, and then put in the code of the popup-version... and see what happens next.
Thanks so far. I shall give feedback, when I have finished.
Matthias -
Forest trust - security issues and how to avoid
Hi guys,
I have few questions.
1/Planning do Forest trust.We have Forest + Domain functional level at WS 2003 level.
In case of trust what are the security issues and how to avoid them? Meant something like browsing in AD, possible hacking from new destination etc.
2/ What in case that the trust will not be possible create because of security reasons (rejected by other company)? What can be an workaround for that? I have idea with resource forest or ADFS? Any other ideas?
Thanks in advance or for a good link to study about.
Petr WeinerOther than broad general answers it is difficult to answer this from the negative side. I work in a very large company where we have hundreds of domains with one way trusts in place and I don't believe we have any security issues in place. With
the large numbers of domains we can't operate in any other fashion. We have a user forest and many resource forests. All of our domains and forests are operated and maintained within the company but if you have domains operated by different departments
then you can run into issues on who trusts. Also if you need to have a situation where you need to trust other companies then you start to look at ADFS, you can also use it internally for many applications as well as cloud services. But as I already
mentioned you haven't detailed what exactly is going on so it is hard to try and give you a concrete answer.
Paul Bergson
MVP - Directory Services
MCITP: Enterprise Administrator
MCTS, MCT, MCSE, MCSA, Security, BS CSci
2012, 2008, Vista, 2003, 2000 (Early Achiever), NT4
Twitter @pbbergs http://blogs.dirteam.com/blogs/paulbergson
Please no e-mails, any questions should be posted in the NewsGroup.
This posting is provided AS IS with no warranties, and confers no rights. -
How to avoid security promotion message when opening file in 6630
Hi, everyone!
I'm using J2ME to open image in 6630, the code works ,but just got too many security messagebox , every time when i open a folder , open an image, the mobile will promote me a message to confirm this action.
does anyone know how to avoid this message using java code?
(not setup in mobile)
Thank you!
Any hint or link is much appreciated!The "PostToInsecureFromSecureMessage" warning can't be suppressed, it is too important.<br />
You will get that warning if you go from a secure https connection to an insecure http connection and POST data entered in a form on a secure site is send to an http server. -
How can avoid the problem of Parameter Prompting when I submitting ?
I am developing web application in visual studio 2008 in csharp.How can avoid the issue or problem of Parameter Prompting when I send parameters programaticaly or dyanmicaly? I am sending the values from .net web form to crystal report but it is still asking for parameters. so when i submit second time that is when the reports is being genereated. How can i solve this problem. Please help. The code Iam using is below.
1. using System;
2. using System.Collections;
3. using System.Configuration;
4. using System.Data;
5. using System.Linq;
6. using System.Web;
7. using System.Web.Security;
8. using System.Web.UI;
9. using System.Web.UI.HtmlControls;
10. using System.Web.UI.WebControls;
11. using System.Web.UI.WebControls.WebParts;
12. using System.Xml.Linq;
13. using System.Data.OleDb;
14. using System.Data.OracleClient;
15. using CrystalDecisions.Shared;
16. using CrystalDecisions.CrystalReports.Engine;
17. using CrystalDecisions.Web;
18.
19.
20. public partial class OracleReport : System.Web.UI.Page
21. {
22. CrystalReportViewer crViewer = new CrystalReportViewer();
23. //CrystalReportSource crsource = new CrystalReportSource();
24. int nItemId;
25.
26. protected void Page_Load(object sender, EventArgs e)
27. {
28. //Database Connection
29. ConnectionInfo ConnInfo = new ConnectionInfo();
30. {
31. ConnInfo.ServerName = "127.0.0.1";
32. ConnInfo.DatabaseName = "Xcodf";
33. ConnInfo.UserID = "HR777";
34. ConnInfo.Password = "zghshshs";
35. }
36. // For Each Logon parameters
37. foreach (TableLogOnInfo cnInfo in this.CrystalReportViewer1.LogOnInfo)
38. {
39. cnInfo.ConnectionInfo = ConnInfo;
40.
41. }
42.
43.
44.
45.
46.
47.
48. //Declaring varibles
49. nItemId = int.Parse(Request.QueryString.Get("ItemId"));
50. //string strStartDate = Request.QueryString.Get("StartDate");
51. //int nItemId = 20;
52. string strStartDate = "23-JUL-2010";
53.
54. // object declration
55. CrystalDecisions.CrystalReports.Engine.Database crDatabase;
56. CrystalDecisions.CrystalReports.Engine.Table crTable;
57.
58.
59. TableLogOnInfo dbConn = new TableLogOnInfo();
60.
61. // new report document object
62. ReportDocument oRpt = new ReportDocument();
63.
64. // loading the ItemReport in report document
65. oRpt.Load("C:
Inetpub
wwwroot
cryreport
CrystalReport1.rpt");
66.
67. // getting the database, the table and the LogOnInfo object which holds login onformation
68. crDatabase = oRpt.Database;
69.
70. // getting the table in an object array of one item
71. object[] arrTables = new object[1];
72. crDatabase.Tables.CopyTo(arrTables, 0);
73.
74. // assigning the first item of array to crTable by downcasting the object to Table
75. crTable = (CrystalDecisions.CrystalReports.Engine.Table)arrTables[0];
76.
77. dbConn = crTable.LogOnInfo;
78.
79. // setting values
80. dbConn.ConnectionInfo.DatabaseName = "Xcodf";
81. dbConn.ConnectionInfo.ServerName = "127.0.0.1";
82. dbConn.ConnectionInfo.UserID = "HR777";
83. dbConn.ConnectionInfo.Password = "zghshshs";
84.
85. // applying login info to the table object
86. crTable.ApplyLogOnInfo(dbConn);
87.
88.
89.
90.
91.
92.
93. crViewer.RefreshReport();
94.
95. // defining report source
96. crViewer.ReportSource = oRpt;
97. //CrystalReportSource1.Report = oRpt;
98.
99. // so uptill now we have created everything
100. // what remains is to pass parameters to our report, so it
101. // shows only selected records. so calling a method to set
102. // those parameters.
103. setReportParameters();
104. }
105.
106. private void setReportParameters()
107. {
108.
109. // all the parameter fields will be added to this collection
110. ParameterFields paramFields = new ParameterFields();
111. //ParameterFieldDefinitions ParaLocationContainer = new ParameterFieldDefinitions();
112. //ParameterFieldDefinition ParaLocation = new ParameterFieldDefinition();
113.
114. // the parameter fields to be sent to the report
115. ParameterField pfItemId = new ParameterField();
116. //ParameterField pfStartDate = new ParameterField();
117. //ParameterField pfEndDate = new ParameterField();
118.
119. // setting the name of parameter fields with wich they will be recieved in report
120.
121. pfItemId.ParameterFieldName = "RegionID";
122.
123. //pfStartDate.ParameterFieldName = "StartDate";
124. //pfEndDate.ParameterFieldName = "EndDate";
125.
126. // the above declared parameter fields accept values as discrete objects
127. // so declaring discrete objects
128. ParameterDiscreteValue dcItemId = new ParameterDiscreteValue();
129. //ParameterDiscreteValue dcStartDate = new ParameterDiscreteValue();
130. //ParameterDiscreteValue dcEndDate = new ParameterDiscreteValue();
131.
132. // setting the values of discrete objects
133.
134.
135. dcItemId.Value = nItemId;
136.
137. //dcStartDate.Value = DateTime.Parse(strStartDate);
138. //dcEndDate.Value = DateTime.Parse(strEndDate);
139.
140. // now adding these discrete values to parameters
141. //paramField.HasCurrentValue = true;
142.
143.
144.
145. //pfItemId.CurrentValues.Clear();
146. int valueIDD = int.Parse(Request.QueryString.Get("ItemId").ToString());
147. pfItemId.Name = valueIDD.ToString();
148.
149. pfItemId.CurrentValues.Add(dcItemId);
150. //ParaLocation.ApplyCurrentValues;
151. pfItemId.HasCurrentValue = true;
152.
153. //pfStartDate.CurrentValues.Add(dcStartDate);
154. //pfEndDate.CurrentValues.Add(dcEndDate);
155.
156. // now adding all these parameter fields to the parameter collection
157. paramFields.Add(pfItemId);
158.
159. //paramFields.Add(pfStartDate);
160. //paramFields.Add(pfEndDate);
161. /////////////////////
162. //Formula from Crystal
163. //crViewer.SelectionFormula = "{COUNTRIES.REGION_ID} = " + int.Parse(Request.QueryString.Get("ItemId")) + "";
164. crViewer.RefreshReport();
165. // finally add the parameter collection to the crystal report viewer
166. crViewer.ParameterFieldInfo = paramFields;
167.
168.
169.
170. }
171. }Keep your post to under 1200 characters, else you loose the formatting. (you can do two posts if need be).
Re. parameters. First, make sure yo have SP 1 for CR 10.5:
https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
Next, see the following:
[Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
CR Dev help file:
http://msdn2.microsoft.com/en-us/library/bb126227.aspx
Samples:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup -
WLC cert to avoid the security warning page
Hi guys,
I am doing some tests with installiing a 3rd party cert on a WLC to avoid the security warning page when trying to access the WLC through https, and I am following the following configuration example:
http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a00806e367a.shtml
I have followed the same precedures given in the above document, and I am using windows CA to sign the CSR just for a test, I could install the final .pem cert successfully onto the WLC however I am still getting the same warning page when I was trying to login to the WLC through https. I have checked in my certificate store and I have trusted the root CA which is the windows CA in this case.
I have also tried to access the WLC from the CA server (windows 2008 box) still getting the same warning message.
so what should I do in order to make this to work with windows CA? did I missed something in the configuration?
Thanks in advance for your time and help.
Andyok guys.... I was wrong last time... actually after double check again it was NOT working .... I think i just simply trusted the cert last time when i was using firefox....
I have tried a number of different things and double checked the places that mentioned previously in this thread however I could not pick up anything wrong in particular, although I know there must be something I have missed out.....
so this time I have also read through some other references on the web, and found the following:
http://www.my80211.com/home/2011/1/16/wlcgenerate-third-party-web-authentication-certificate-for-a.html
I think I did very similar config and only difference is that I am using unchained cert.
I have double checked the following:
on virtual interface configuration, I have ip address 1.1.1.1 and DNS host name as "wlc2112.mydomain.local"
from the controller GUI --> Security --> web auth --> certificate, under subject name, I have CN=wlc2112.mydomain.local, however under Issuer name, I have CN=mydomain, this is a bit different from the last screen shot in the above link. could this be a problem?
in windows 2003 server, with DNS server I have a field called "wlc2112" with IP address 1.1.1.1
as mentioned by Scott previously, I went to the mmc certificate snap in, and under trusted root certificate authorities, I have installed the WLC cert there and I could see it there as well.
now if I try to access the WLC GUI from here I am still getting the error message same as the one below:
http://www.vistaclues.com/the-security-certificate-presented-by-this-website-was-issues-for-a-different-website%E2%80%99s-address/
I then followed the instruction and continue to the website, and when I go file --> properties --> certificate, it actually shows the certificate is issued to 169.254.1.1 and issued by 169.254.1.1, with a red cross on the cert itself....... I have no idea where is this come from, so I just want to ask when I try to access the WLC GUI through a web browser, after I type in https://wlc-ip-address, how does the browser know / search for which certificate it needs to look into? I think in my case here it clearly points to the wrong certificate?
also on the server I went to http://127.0.0.1/certsrv and selected "download a CA certificate, certificate chain or CRL" and then "install this CA certificate chain", does this mean I acknowledge to trust the root CA by doing this?
I am not sure what I have missed out but it just does not work for some reason... is there any other places that I need to check/verify?
Sorry for the long writing but any comments would be highly appreciated.
Thanks in advance for your help. -
How to create a secure & non editable PDF? So that it cannot be modified by any of the secondary tools available online for security breaks and editing of PDF document
I put all the security options but still there are tools to break the security (even password) leading to editing of document
Need to avoid any such situationIf the document is important, and there is something to be gained by modifying it - then someone will just make a new copy of it (e.g. print and scan, screen capture), and make a new document, then change it.
If protecting the integrity of the document - proving it is unchanged - is the thing, look at digital signatures. Forget security, the signed file can be freely edited, but the signature will always show it is changed. -
How to avoid safety warning when opening a pdf from an link in another pdf?
I make pdf in Acrobat with links to other pdf files av have made. When i try to click a link to open the pdf, i get the safety question if trust it or if i will block it. How to avoid that question all the time?
Hello Kvalitetetsansvarlig
Try adding the PDF to the trust location in Acrobat
Edit -> Preferences-> Security (Enhanced), Click on "Add File", and browse to your file.
Click on "OK" button and check.
Regards,
Deepak -
How to avoid Time out issues in Datapump?
Hi All,
Iam loading one of our schema from stage to test server using datapump expdp and impdp.Its size is around 332GB.
My Oracle server instance is on unix server rwlq52l1 and iam connecting to oracle from my client instance(rwxq04l1).
iam running the expdp and impdp command from Oracle client using the below commands.
expdp pa_venky/********@qdssih30 schemas=EVPO directory=PA_IMPORT_DUMP dumpfile=EVPO_Test.dmp CONTENT=all include=table
impdp pa_venky/********@qdsrih30 schemas=EVPO directory=PA_IMPORT_DUMP dumpfile=EVPO_Test.dmp CONTENT=all include=table table_exists_action=replace
Here export is completed and import is struck at below index building.After some time iam seeing below time out in log files
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX.
Error:-
VERSION INFORMATION:
TNS for Linux: Version 11.1.0.7.0 - Production
Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
Time: 13-JAN-2012 12:34:31
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=170.217.82.86)(PORT=65069))
The above ip address is my unix client system(rwxq04l1) ip.
How to see oracle client system port number?
Please suggest me how to avoid this time out issues.Seems this time out is between oracle server and client.
Thanks,
Venkat Vadlamudi.Don't run from the client ... run from the server
or
if running from a client use the built-in DBMS_DATAPUMP package's API.
http://www.morganslibrary.org/reference/pkgs/dbms_datapump.html -
How to configure java.security file to run j2ee programs
Hi,
I am using Sun one application server to run my j2ee programs.
plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
I am not able to follow whats there in java.security file.Kindly tell how to configure it.
Waiting for ur replies!
Thanks,
AkshathaHi,
I am using Sun one application server to run my j2ee programs.
plz tell me how to configure java.security file inside my appserver so that i can run my servlet program that is using jsse API to create SSL sockets.
I am not able to follow whats there in java.security file.Kindly tell how to configure it.
Waiting for ur replies!
Thanks,
Akshatha -
Socket security layer for 8330 curve
With no warning my company added socket security layering on our e-mail exchange server. Now all of us with blackberries cannot receive our mail on our phone. I have a 8330 curve. I'm not able to figure out if there is a setting for this. Please help!
Hi Mike8330!
I'm sorry to learn of these error messages! Let's get to the bottom of this, OK? You have "8330" in your screen name, so I'm assuming you have the Curve 8330? I did a little research on the error code you're receiving, and I recommend a master reset of the device, so the error code goes away. Here are the steps:
http://vz.to/19ILeEB
Please let me know how this goes for you, I'd like to make sure you're no longer having this issue.
Have you checked out the new Blackberry devices we offer? Ready to upgrade? Just dial #UPG send to check your upgrade eligibilty. Check out our line up here: vzw.com/products
Thank You,
ChristinaB_VZW
VZW Support
Follow us on Twitter @VZWSupport -
How to Avoid confirmation messages in midp
Hi everybody,
while trying to take pictures or connecting with some servlet we get following confirm messages in midlets:
Multimedia Sna... Midlet wants to get snapshot, Is that OK?
How to avoid from these messages ?
thanks in advance,
zeeshan.You will probably need to sign your MIDlet and request the appropiate permissions in the jad.
Understanding MIDP 2.0's Security Architecture
shmoove -
How to avoid JsessionID passing in URL by using weblogic
Hi,
In my application,while login into it,the URL appended with JSessionID but it is security flaw which is very helpful for hacker to leglimate the application.So please how to avoid the Jsessionid is visible in URL to user and it should not appended in the url.
ie:
www.joy.com/loginAction.do;jsessionid=hQsmHn1BTY1mp12xLyGl0JTncVrpJGRswpMRY82wLbpqB8B5wJJ1!-829701127
the above seen url appended in my URL.
which Method is appropriate to control the appending and is there any tag attribute particularly in weblogic.xml which will take care to avoid to pass thru out application.
Please come up with solution ASAP i need to implement
Regards
KarthikHi Vikram,
As you said that,by disabling the particular tag attribute ,it will not present on url and how to rewrite the Present URL which back to original URL
Regards,
Karthik
Maybe you are looking for
-
VI runs from one account but gives an error 37 from another account
I'm still running LabView 5.0 on a Solaris Server, 2.8. This is really weird. I have a VI that will run just fine under my account, but another user tries to run the same VI and gets an error 37, device not found. We are using NI Serial Port Init.
-
How can i make iphone contacts the iCloud ones
Is there a way to make my IPHONE 5 contacts the correct ones / updated / newer on ICLOUD.COM. I´ve already deleted all ICLOUD Contacts because they were outdated and not useful. I´ve recovered my contacts from a Backup that I´ve of my IPhone and they
-
Hi to all- I am a new user and have been enjoying this program immensely, although I have barely "scratched the surface". Since I have virtually no experience with PS, I am taking a couple of courses in the basics, working thru Adobe's Classroom In A
-
Hi my client requirement as we are using the existing copa report , it displays all the plants say for example 10 plants report. now the clinet wants one more same report only with 5 plants . how to create a new report for the 5 plants the existing
-
Call handler pick up after hunt pilot no answer
All, I have setup a Hunt pilot for 4357 and it goes through the Hunt List just fine. However I want it to roll over to a call handler IF no one picks up. How is this done?