How secure is it to connect to an ftp server (iPhone SDK)
How secure is it to connect to an ftp server in an iPhone application? I want to connect to my ftp server in my app but am worried that the username and password can be revealed. ...
How secure is it to connect to an ftp server in an iPhone application? I want to connect to my ftp server in my app but am worried that the username and password can be revealed. ...
Hello - I have set up several EC2 instances and intend to give multiple users access to them via SSH. Is there any file on the server that monitors who logs in and when? Any help greatly appreciated. Max. ...
I have this line in php.ini include_path = ".;C:\xampp\htdocs\zend\library;C:\xampp\php\PEAR" What exactly is the . in front of the string? And what does the line do, exactly? I know it includes the paths, but what exactly happens behind the scenes? Maybe this is a dumb question but I'm asking anyway :-) ...
On my web server I will be creating a bespoke XML file for a client app to access. This means I must authenticate the client and then give the client the XML file. I believe the client application will need to post data (login, password) to the server and once a connection is established, it will receive the XML file from the server (m...
Hi, i have a jquery ajax form. i have validation at server side for repeated username and email ID. which works fine without jquery/ajax. in my php code i have used die() to return if any error occurs. my main problem is at ajax here is the code $(document).ready(function(){ $("form#regist").submit(function() { var str = $("#regi...
I need to drop a perticular database in SQL Server 2005 using T-SQL. I know droping a databse can not be done in a database trnsaction. So what if while deleting a real huge database some unexpected exception occurs E.g. Time out exception. Will it leave my database in unstable state ? If yes, how do i avoid such situation ? ...
Hi all - this is quite a difficult topic by all accounts. I am building a website that requires users to upload large (multi-GB). What is the best way allow users to upload a file on a website and allow the file upload to be resumed should it fail? What is the way to write this in rails? Any ideas greatly appreciated. Max. ...
Is there anyway I can push changes from my Github Repository to a remote server automatically? I would like to deploy changes in master branch in my github repository to a remote deployment server. If possible. ...
This is the code of my server: #include <stdio.h> #include <stdlib.h> #include <getopt.h> #include <string.h> #include <unistd.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/wait.h> #include <signal.h> int main (int argc, char **argv) //-----------------...
I'm mostly looking for setup advise and pointers on how to go about going about this. I'll explain in as much detail as I can think and also note possible approaches that may be plausible. The aim of this is to create a real time browser game, the best method that I have found for my needs would to use "long polling" with ajax, which wi...
I'm running PHP5 and Apache with mod_rewrite enabled. As we know on every page load browser sends cookie data to requested files. This data could be useful for PHP files, however for images or css files it has no value and simply make communication between browser and server slower. Is there any ways to tell browser or server to stop d...
I have an instance of SimpleHTTPServer, however when I try to call "shutdown" on it and there is a request handler that is blocked - the whole process will block. It does so even if I run the "serve_forever" method in a deamon thread. See example code at http://codepad.org/cn8EYdfg Any advice? ...
Hello all I want to build web application that is based on java technology (tomcat ) Can I get please suggestions on how to set up the servers (apache – mod_jk – tomcat ? ) And what are the right frameworks to use or not . For memory and ease of work from the development side ( to use plain jsp or mvc frame works? ) ...
Hi, I have started learning EJB. I like to know which is best application server for beginner to learn EJB... ...
I have existing websites with PHP/MySQL framework. They are very busy and chat, events, vs (interval) ajax implementations added to server load as well. Now websites are going bigger so I need to change to long polling/comet but apache is not very well with these and most of the comet servers are done in Java. Like cometd, www.stream-hub...
Lets say that you are using a shared hosting plan and your application stores lots of objects in the application state. If they start taking too much memory does this mean that the server will just remove them? If not what will happen then? What happens when the server has no memory left? Can you still store objects into the applicati...
Hi I have a problem with my function, which responsible for contact between client and server: #define MAX 1024 void connection(int sock) { char buffer[MAX]; int newsock; int n; int r; if(write(sock,"Hello!\n", 6) < 0) { perror("Error: "); } do { if(write(sock, "\n> ",3) < 0) {...
Is it possible to restrict access to a server so that only iPhone devices can use it? I have no experience in setting up servers or the like before. I am still very fresh to programming. Thanks. ...
I have following object in the FMS User = function(userName,userId) { this.userName = userName; this.userId = userId; } I need to send the list of user to the client swf. Once I initialized the User object collection to an array, array element is undefined when I read it from the client. However I can’t send the generic object too...
Hi, this is my function: void connection(int sock) // sock is a descriptor of socket { char buffer[MAX]; int n; // number of bytes read or write into a socket int f; f = fork(); if(write(sock,"HELLO\n", 5) < 0) { perror("Error: \n"); } write(sock, "\n> ",3); do { memset(buffer,'0',M...