How does IPC generate security holes? [closed] - security

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
How does interprocess communication generate security holes? Examples appreciated.

Feels like homework, but I'll bite anyways.
Any time you have one process talking to another - whether it's via pipes, sockets, shared memory, etc. those processes either need to be coded very defensively or they need to be able to "trust" each other to ensure that the inter-process communications follow the protocol that they both expect.
You always have to consider the possibility that a rouge process could be created that attempts to use whatever IPC mechanism you have in place to crash, corrupt, or gain unauthorized access to whatever data you might be sharing via IPC.

Related

Setting up TortoiseSVN server on Windows 7 [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I need to set up tortoise svn on a share that is hosted on our server. I read this is not wise, but I dont mind, because only me and my manager uses that. Anyone done that before? Would appreciate any help.
TortoiseSVN is not a server and includes no server components.
Anytime you are using a repository on a network and/or sharing with another user, you need to be running a server (svnserve or Apache). Ignoring best practices & other advice with "I know it's wrong, but I don't mind, it's only two of us" is faulty and you will eventually have a problem.

Win8: Share functional [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I need to share info to the social application through windows share. What I do: install application (Twitter, FB, Latermark) and try to post different types of information. But I want to check what user clicks (Twitter or Facebook, etc) and in this case I will post different description, add images....
For example if user select Twitter I will add short description
"I am playing .....bal-bla-bla"
If he shares through Mail it will be longer
"I am playing .....bal-bla-bla(very long description)"
How can I do this?
You can't do that. Share source application has no knowledge about Share receiver, and it is by design. What even more important - you can't change share content after share contract is started.
http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/cb31c30a-1a0a-4311-96b2-5e02459ba217 - thanks for quick response and explanation

Why do I need SSL for my website? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
What does SSL do and what are the bad things that can happen if I omit SSL for my website?
SSL prevents man-in-the-middle attackers from seeing or modifying data as it's sent through the internet.
Any page which contains or asks for sensitive information, or any page which involves code that executes with elevated privileges (eg, browser addins or software downloads) should use SSL for all requests.
In theory, a signed SSL certificate also indicates that the signatory has verified the identity of the site, but that doesn't mean much.
Basically everything in HTML is sent in plain text formats, meaning if intercepted it could be ready very easily.
SSL makes all the plain text into encrypted mumojumbo that is extremely difficult to decrypt and read.

How to customized keyboard in IOS [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to create customized keyboard for IOS in my App.Is its possible if its possible please guide my with code example.Thanks in advanced.
As noted at: Create custom international keyboard for iPhone
"As per Apple's submission guidelines:
2.5 Apps that use non-public APIs will be rejected
2.6 Apps that read or write data outside its designated container area will be rejected
There are no public APIs to add an additional keyboard.
The files that store keyboard data are definitely stored outside of your app's container.
In short: There is no way to implement a custom global keyboard on a non-jailbroken iOS device at this point in time."
You can't access that page without a developer account, however I would think that the submissions would be the same.
However, I do know that on jailbroken devices... you can SSH or filemanage and make new keyboard layouts. I won't bother posting any code due to the fact that you won't actually be able to implement it.

PHP application works on a Windows server, but it doesn't work on a Linux server, why? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a PHP web application. This application works on Windows server, but it doesn't work on a Linux server. I think this is about php.ini or file permissions. What can be other reasons for this situaion? What must be the basic php.ini configurations for this situation?
Never ask "What can be other reasons". We are not weather forecasters here. We are programmers. And we have tools to be certain, what particular problem we are experiencing now.
The only thing you need is to ask PHP to tell you, what's the problem.
The easiest way is to put these lines into your configuration file,
ini_set('display_errors',1);
error_reporting(E_ALL);
and see what your app will say. It can be permissions or php.ini. All will be told.
Quite easy, eh? ;)
If these magic lines won't help, there are several other ways, the manual has a good manual in it: http://php.net/manual/en/configuration.changes.php
When your server goes public, don't forget to change these lines to
ini_set('display_errors',0);
ini_set('log_errors',1);
error_reporting(E_ALL);
and see error messages in the error log, not revealing it to the possible hackers and innocent users.

Resources