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'm developing an application upload and download files on cloud foundry, however I do not know how to access the file storage to recover to download
There are several problems if you store files on the local file system within CF. Although files can be written by each instance of an app, they will not be visible to other instances of the app. And they will not survive the lifetime of the application instance itself(will be totally gone e.g., when your app is restarted), and hence should be treated as ephemeral.
For now the other options are either storing files as blobs in a CF provisioned service(e.g., MySQL or MongoDB) and then retrieve them from the app. Or since you do have outbound port 80 and 443 access, services that are external to CF.com but are reachable are also an option.
Related
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 requirement where I want that user of my C++ program is able to do passwordless "ssh" on to a particular machine but the same user should not be able to do ssh on the same machine through a normal terminal/shell.
use a proxy-program that is executed under a different UID (which is allowed to ssh to you remote host), and forward any requests from your real program to the proxy.
Match User stack
ForceCommand exectute_me.sh
Suppose your user name is stack. In that case, put above lines in sshd_config.
So if this user (stack) try to login the server via ssh, the script called execute_me.sh will get executed.
If you are able to write some conditions specific for this user in execute_me.sh, I think you can do what you want with this user.
Hard-code the SSH password in your program (presumably obfuscated a little, though that doesn't help much).
Alternatively, use an SSH key with a passphrase, and hardcode the key's passphrase (which is not the same thing as the Unix password) in the program (which gives you a little more control).
Are you sure you can't live with the user entering the SSH key passphrase ONCE at the beginning of each session (e.g. in the morning)? Every further ssh request will not need a password.
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 small Django web-site, which I've wrote in learning purpose, but now I'd like to publish it in Internet.
Dear Stackoverflowers, could you please recommend any free Django providers which are convenient to work with?
Sorry, if that is a stupid question.
P.S. I've searched in the Internet, and found some providers, but I can't decide which is good. Need your advice.
Free cloud hosting service for django applications with postgres available on Heroku. I deployed an app in like 20 mins.
https://devcenter.heroku.com/articles/django
I believe Heliohost is popular and comes highly recommended. I've not used it myself, but it is probably worth checking it out.
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 am looking for resources on Microsoft Sync Framework. Although MSDN and Google Search gave me the brief overview,but I want simple example of demos,implementations of the Sync framework.
How about this?
Microsoft Sync Framework 4.0 October 2010 CTP Documentation
Contains documentation, tutorials and samples.
EDIT:
Perhaps also some introduction videos to the Microsoft sync framework.
you havent mentioned what you want to sync: files? databases? feeds?
if you install Sync Framework itself, the documentation comes with tutorials/walkthroughs especially on database synchronization.
for database sync, you can take a look at:
Tutorial: Synchronizing SQL Server and SQL Server Compact
Tutorial: Synchronizing SQL Server and SQL Express
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 really don't see the point of making EJB's into web services. The first thing that comes to mind is security. How do I keep the entire world from using my business methods? How would you authenticate a user to use a service. The second it seems hard to pass objects or if it's even possible to pass lists into a web service.
I can see some justifications such as having services for multiple applications that use the same methods. But why not just have a library or deploy an ear with all the business methods?
Thanks for your help.
How would you like to deploy your Java package to .NET client? Or better how would you like to deploy your Java package to 1.000.000 iPhones?
Web services are here because of interoperability. You will use them to pass data between processes without making the processes dependent on concrete technology. The communication will only be dependent on some interoperable and broadly supported protocols and data structures represented in XML or other interchangable format (like JSON).
If you need some advanced protocols for transaction flow, message level security or reliable messaging you will build SOAP service. If you need lightweight service for broad variety of clients you will build REST service.
Web services have its place and once you will have to build interoperable application or generally logic used by non Java code you will find them useful.
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 can we differentiate between a web service and a web application?
There's a variety of answers to this question, but I think the most concise is as follows. A web application is designed to be used by humans, whereas a web service is designed to be used by other pieces of software (which may or may not be part of a web application). Does that help?
Think of a web service as a function you can call through the internet. In contrast a web application is the whole thing, including gui.
Web application have both UI and data communication functionality.. while web service only meant to transfer data or actions.
One is optimized for computer access, while the other is optimized for human access.